disable document build jobs for doctor and promise
[releng.git] / jjb / doctor / doctor.yml
1 - project:
2     name: doctor
3     project: '{name}'
4     jobs:
5         - '{project}-verify'
6         - '{project}-merge-{stream}'
7
8     # stream:    branch with - in place of / (eg. stable-arno)
9     # branch:    branch (eg. stable/arno)
10     stream:
11         - master:
12             branch: 'master'
13
14 - job_defaults: &job_defaults
15     name: job_defaults
16     parameters:
17         - project-parameter:
18             project: '{project}'
19
20 - job-template:
21     name: '{project}-verify'
22     disabled: true
23     <<: *job_defaults
24     scm:
25         - gerrit-trigger-scm:
26             credentials-id: '{ssh-credentials}'
27             refspec: '$GERRIT_REFSPEC'
28             choosing-strategy: 'gerrit'
29     triggers:
30         - gerrit:
31             trigger-on:
32                 - patchset-created-event
33                 - draft-published-event
34                 - comment-added-contains-event:
35                     comment-contains-value: 'recheck'
36                 - comment-added-contains-event:
37                     comment-contains-value: 'reverify'
38             projects:
39               - project-compare-type: 'ANT'
40                 project-pattern: '{project}'
41                 branches:
42                     - branch-compare-type: 'ANT'
43                       branch-pattern: '**'
44     builders:
45         - shell:
46             !include-raw docu-build.sh
47
48 - job-template:
49     name: '{project}-merge-{stream}'
50     disabled: true
51     <<: *job_defaults
52     scm:
53         - gerrit-trigger-scm:
54             credentials-id: '{ssh-credentials}'
55             refspec: ''
56             choosing-strategy: 'default'
57     triggers:
58         - gerrit:
59             trigger-on:
60                 - change-merged-event
61                 - comment-added-contains-event:
62                     comment-contains-value: 'remerge'
63             projects:
64               - project-compare-type: 'ANT'
65                 project-pattern: '{project}'
66                 branches:
67                     - branch-compare-type: 'ANT'
68                       branch-pattern: '**/{branch}'
69     builders:
70         - shell:
71             !include-raw docu-build.sh