9c027bcbb70d01b1ca44f89611a07244cea5cb33
[releng.git] / jjb / genesis / genesis-docs.yml
1 # this is the job configuration for bgs
2 - project:
3
4     name: genesis-docs
5
6     jobs:
7         - 'genesis-merge-docs'
8         - 'genesis-verify-docs'
9
10     # stream:    branch with - in place of / (eg. stable-helium)
11     # branch:    branch (eg. stable/helium)
12     stream:
13         - master:
14             branch: 'master'
15
16     project: 'genesis'
17
18 ########################
19 # job templates
20 ########################
21 - job-template:
22     name: 'genesis-merge-docs'
23
24     node: master
25
26     project-type: freestyle
27
28     logrotate:
29         daysToKeep: 30
30         numToKeep: 40
31         artifactDaysToKeep: -1
32         artifactNumToKeep: 5
33
34     parameters:
35         - project-parameter:
36             project: '{project}'
37         - gerrit-parameter:
38             branch: 'master'
39
40     scm:
41         - gerrit-trigger-scm:
42             credentials-id: '{ssh-credentials}'
43             refspec: ''
44             choosing-strategy: 'gerrit'
45
46     wrappers:
47         - ssh-agent-credentials:
48             user: '{ssh-credentials}'
49
50     triggers:
51         - gerrit:
52             trigger-on:
53                 - change-merged-event
54                 - comment-added-contains-event:
55                     comment-contains-value: 'remerge'
56             projects:
57               - project-compare-type: 'ANT'
58                 project-pattern: 'genesis'
59                 branches:
60                     - branch-compare-type: 'ANT'
61                       branch-pattern: '**/master'
62
63     builders:
64         - shell:
65             !include-raw docu-build.sh
66
67 - job-template:
68     name: 'genesis-verify-docs'
69
70     node: master
71
72     project-type: freestyle
73
74     logrotate:
75         daysToKeep: 30
76         numToKeep: 40
77         artifactDaysToKeep: -1
78         artifactNumToKeep: 5
79
80     parameters:
81         - project-parameter:
82             project: '{project}'
83         - gerrit-parameter:
84             branch: 'master'
85
86     scm:
87         - gerrit-trigger-scm:
88             credentials-id: '{ssh-credentials}'
89             refspec: '$GERRIT_REFSPEC'
90             choosing-strategy: 'default'
91
92     wrappers:
93         - ssh-agent-credentials:
94             user: '{ssh-credentials}'
95
96     triggers:
97         - gerrit:
98             trigger-on:
99                 - patchset-created-event:
100                     exclude-drafts: 'false'
101                     exclude-trivial-rebase: 'false'
102                     exclude-no-code-change: 'false'
103                 - draft-published-event
104                 - comment-added-contains-event:
105                     comment-contains-value: 'recheck'
106                 - comment-added-contains-event:
107                     comment-contains-value: 'reverify'
108
109             projects:
110               - project-compare-type: 'ANT'
111                 project-pattern: 'genesis'
112                 branches:
113                     - branch-compare-type: 'ANT'
114                       branch-pattern: '**/master'
115
116     builders:
117         - shell:
118             !include-raw docu-verify.sh
119