f192e867936c33fde95bed0388a28ab29a8d9a02
[releng.git] / jjb / qtip / qtip-project-jobs.yml
1 - project:
2     name: qtip
3
4     project: '{name}'
5
6     jobs:
7         - 'qtip-verify-{stream}'
8
9 # only master branch is enabled at the moment to keep no of jobs sane
10     stream:
11         - master:
12             branch: '{stream}'
13             gs-pathname: ''
14             disabled: false
15         - colorado:
16             branch: 'stable/{stream}'
17             gs-pathname: '/{stream}'
18             disabled: false
19
20 - job-template:
21     name: 'qtip-verify-{stream}'
22
23     disabled: '{obj:disabled}'
24
25     parameters:
26         - project-parameter:
27             project: '{project}'
28         - gerrit-parameter:
29             branch: '{branch}'
30         - 'opnfv-build-ubuntu-defaults'
31
32     scm:
33         - gerrit-trigger-scm:
34             credentials-id: '{ssh-credentials}'
35             refspec: '$GERRIT_REFSPEC'
36             choosing-strategy: 'gerrit'
37
38     triggers:
39         - gerrit:
40             trigger-on:
41                 - patchset-created-event:
42                     exclude-drafts: 'false'
43                     exclude-trivial-rebase: 'false'
44                     exclude-no-code-change: 'false'
45                 - draft-published-event
46                 - comment-added-contains-event:
47                     comment-contains-value: 'recheck'
48                 - comment-added-contains-event:
49                     comment-contains-value: 'reverify'
50             projects:
51               - project-compare-type: 'ANT'
52                 project-pattern: '{project}'
53                 branches:
54                   - branch-compare-type: 'ANT'
55                     branch-pattern: '**/{branch}'
56                 forbidden-file-paths:
57                   - compare-type: ANT
58                     pattern: 'docs/**|.gitignore'
59
60     builders:
61         - shell: |
62             #!/bin/bash
63             set -o errexit
64             set -o pipefail
65             set -o xtrace
66
67             tox