3b407efc9d822a0064f930d9b33ab0c1a6603db5
[releng.git] / jjb / doctor / doctor.yml
1 - project:
2     name: doctor
3
4     project: '{name}'
5
6     jobs:
7         - 'doctor-verify-{stream}'
8
9     stream:
10         - master:
11             branch: '{stream}'
12             gs-pathname: ''
13             disabled: false
14         - colorado:
15             branch: 'stable/{stream}'
16             gs-pathname: '/{stream}'
17             disabled: false
18
19 - job-template:
20     name: 'doctor-verify-{stream}'
21
22     disabled: '{obj:disabled}'
23
24     parameters:
25         - project-parameter:
26             project: '{project}'
27         - gerrit-parameter:
28             branch: '{branch}'
29         - 'opnfv-build-ubuntu-defaults'
30
31     scm:
32         - gerrit-trigger-scm:
33             credentials-id: '{ssh-credentials}'
34             refspec: '$GERRIT_REFSPEC'
35             choosing-strategy: 'gerrit'
36
37     triggers:
38         - gerrit:
39             trigger-on:
40                 - patchset-created-event:
41                     exclude-drafts: 'false'
42                     exclude-trivial-rebase: 'false'
43                     exclude-no-code-change: 'false'
44                 - draft-published-event
45                 - comment-added-contains-event:
46                     comment-contains-value: 'recheck'
47                 - comment-added-contains-event:
48                     comment-contains-value: 'reverify'
49             projects:
50               - project-compare-type: 'ANT'
51                 project-pattern: '{project}'
52                 branches:
53                   - branch-compare-type: 'ANT'
54                     branch-pattern: '**/{branch}'
55                 file-paths:
56                   - compare-type: ANT
57                     pattern: 'tests/**'
58
59     builders:
60         - shell: "[ -e tests/run.sh ] && bash -n ./tests/run.sh"