Remove skip-vote on vpp docsonly verify jobs.
[ci-management.git] / jjb / vpp / docs.yaml
1 ---
2 - project:
3     name: docs
4     jobs:
5       - 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
6       - 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
7       - 'vpp-docsonly-verify-{stream}-{os}-{executor-arch}'
8       - 'vpp-docsonly-merge-{stream}-{os}-{executor-arch}'
9
10     project: 'vpp'
11     executor-arch: 'x86_64'
12     os:
13       - 'ubuntu2004'
14       - 'ubuntu2204'
15     stream:
16       - 'master':
17           branch: 'master'
18           branch-refspec: ''
19       - '2210':
20           branch: 'stable/2210'
21           branch-refspec: ''
22       - '2302':
23           branch: 'stable/2302'
24           branch-refspec: ''
25     exclude:
26       # os deprecated in 23.02
27       - stream: '2302'
28         os: 'ubuntu2004'
29       # os deprecated in 22.10
30       - stream: '2210'
31         os: 'ubuntu2004'
32       # os deprecated in master
33       - stream: 'master'
34         os: 'ubuntu2004'
35       # os added in 22.10
36
37 - job-template:
38     name: 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
39
40     project-type: freestyle
41     node: 'builder-{os}-prod-{executor-arch}'
42     concurrent: true
43     allow-empty: 'true'
44     fingerprint: false
45     only-if-success: true
46     default-excludes: false
47
48     properties:
49       - lf-infra-properties:
50           build-days-to-keep: "{build-days-to-keep}"
51
52     parameters:
53       - project-parameter:
54           project: '{project}'
55       - gerrit-parameter:
56           branch: '{branch}'
57       - os-parameter:
58           os: '{os}'
59       - stream-parameter:
60           stream: '{stream}'
61       - gerrit-refspec-parameter:
62           refspec: '{branch-refspec}'
63
64     scm:
65       - gerrit-trigger-scm:
66           credentials-id: 'jenkins-gerrit-credentials'
67           refspec: '$GERRIT_REFSPEC'
68           choosing-strategy: 'gerrit'
69
70     wrappers:
71       - fdio-infra-wrappers:
72           build-timeout: '{build-timeout}'
73
74     triggers:
75       - gerrit-trigger-checkstyle:
76           name: '{project}'
77           branch: '{branch}'
78
79     builders:
80       - shell:
81           !include-raw-escape:
82           - ../scripts/setup_executor_env.sh
83       - shell:
84           !include-raw-escape:
85           - ../scripts/setup_vpp_ubuntu_docker_test.sh
86       - shell:
87           !include-raw-escape:
88           - ../scripts/vpp/docs.sh
89
90     publishers:
91       - fdio-infra-publish-docs-7day
92       - fdio-infra-publish
93
94 - job-template:
95     name: 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
96
97     project-type: freestyle
98     node: 'builder-{os}-prod-{executor-arch}'
99     concurrent: false
100     allow-empty: 'true'
101     fingerprint: false
102     only-if-success: true
103     default-excludes: false
104
105     properties:
106       - lf-infra-properties:
107           build-days-to-keep: "{build-days-to-keep}"
108
109     parameters:
110       - project-parameter:
111           project: '{project}'
112       - gerrit-parameter:
113           branch: '{branch}'
114       - os-parameter:
115           os: '{os}'
116       - stream-parameter:
117           stream: '{stream}'
118
119     scm:
120       - gerrit-trigger-scm:
121           credentials-id: 'jenkins-gerrit-credentials'
122           refspec: ''
123           choosing-strategy: 'default'
124
125     wrappers:
126       - fdio-infra-wrappers:
127           build-timeout: '{build-timeout}'
128
129     triggers:
130       - reverse:
131           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
132           result: 'success'
133       - gerrit:
134           server-name: 'Primary'
135           trigger-on:
136             - comment-added-contains-event:
137                 comment-contains-value: 'run-docs'
138           projects:
139             - project-compare-type: 'ANT'
140               project-pattern: '{project}'
141               branches:
142                 - branch-compare-type: 'ANT'
143                   branch-pattern: '**/{branch}'
144           skip-vote:
145             successful: true
146             failed: true
147             unstable: true
148             notbuilt: true
149
150     builders:
151       - shell:
152           !include-raw-escape:
153           - ../scripts/setup_executor_env.sh
154       - shell:
155           !include-raw-escape:
156           - ../scripts/setup_vpp_ubuntu_docker_test.sh
157       - shell:
158           !include-raw-escape:
159           - ../scripts/vpp/docs.sh
160
161     publishers:
162       - fdio-infra-publish-docs
163       - fdio-infra-publish
164
165 - job-template:
166     name: 'vpp-docsonly-verify-{stream}-{os}-{executor-arch}'
167
168     project-type: freestyle
169     node: 'builder-{os}-prod-{executor-arch}'
170     concurrent: true
171     allow-empty: 'true'
172     fingerprint: false
173     only-if-success: true
174     default-excludes: false
175
176     parameters:
177       - project-parameter:
178           project: '{project}'
179       - gerrit-parameter:
180           branch: '{branch}'
181       - os-parameter:
182           os: '{os}'
183       - stream-parameter:
184           stream: '{stream}'
185       - gerrit-refspec-parameter:
186           refspec: '{branch-refspec}'
187
188     scm:
189       - gerrit-trigger-scm:
190           credentials-id: 'jenkins-gerrit-credentials'
191           refspec: '$GERRIT_REFSPEC'
192           choosing-strategy: 'gerrit'
193
194     wrappers:
195       - fdio-infra-wrappers:
196           build-timeout: '{build-timeout}'
197
198     triggers:
199       - gerrit:
200           server-name: 'Primary'
201           trigger-on:
202             - patchset-created-event:
203                 exclude-drafts: 'true'
204                 exclude-trivial-rebase: 'false'
205                 exclude-no-code-change: 'false'
206             - draft-published-event
207             - comment-added-contains-event:
208                 comment-contains-value: 'recheck-docsonly'
209           projects:
210             - project-compare-type: 'ANT'
211               project-pattern: '{project}'
212               branches:
213                 - branch-compare-type: 'ANT'
214                   branch-pattern: '**/{branch}'
215               file-paths:
216                 - compare-type: 'REG_EXP'
217                   pattern: '.*docs/.*'
218           override-votes: true
219           gerrit-build-notbuilt-verified-value: 0
220           gerrit-build-successful-verified-value: 1
221
222     builders:
223       - shell:
224           !include-raw-escape:
225           - ../scripts/setup_executor_env.sh
226       - shell:
227           !include-raw-escape:
228           - ../scripts/vpp/commitmsg.sh
229       - shell:
230           !include-raw-escape:
231           - ../scripts/setup_vpp_ubuntu_docker_test.sh
232       - shell:
233           !include-raw-escape:
234           - ../scripts/vpp/docs.sh
235       - shell:
236           !include-raw-escape:
237           - ../scripts/vpp/docs_spell.sh
238
239     publishers:
240       - fdio-infra-publish-docs-7day
241       - fdio-infra-publish
242
243 - job-template:
244     name: 'vpp-docsonly-merge-{stream}-{os}-{executor-arch}'
245
246     project-type: freestyle
247     node: 'builder-{os}-prod-{executor-arch}'
248     concurrent: true
249     allow-empty: 'true'
250     fingerprint: false
251     only-if-success: true
252     default-excludes: false
253
254     parameters:
255       - project-parameter:
256           project: '{project}'
257       - gerrit-parameter:
258           branch: '{branch}'
259       - os-parameter:
260           os: '{os}'
261       - stream-parameter:
262           stream: '{stream}'
263
264     scm:
265       - gerrit-trigger-scm:
266           credentials-id: 'jenkins-gerrit-credentials'
267           refspec: ''
268           choosing-strategy: 'default'
269
270     wrappers:
271       - fdio-infra-wrappers:
272           build-timeout: '{build-timeout}'
273
274     triggers:
275       - gerrit:
276           server-name: 'Primary'
277           trigger-on:
278             - change-merged-event
279             - comment-added-contains-event:
280                 comment-contains-value: 'remerge-docsonly'
281           projects:
282             - project-compare-type: 'ANT'
283               project-pattern: '{project}'
284               branches:
285                 - branch-compare-type: 'ANT'
286                   branch-pattern: '**/{branch}'
287               file-paths:
288                 - compare-type: 'REG_EXP'
289                   pattern: '.*docs/.*'
290           skip-vote:
291             successful: true
292             failed: false
293             unstable: false
294             notbuilt: false
295
296     builders:
297       - shell:
298           !include-raw-escape:
299           - ../scripts/setup_executor_env.sh
300       - shell:
301           !include-raw-escape:
302           - ../scripts/vpp/commitmsg.sh
303       - shell:
304           !include-raw-escape:
305           - ../scripts/setup_vpp_ubuntu_docker_test.sh
306       - shell:
307           !include-raw-escape:
308           - ../scripts/vpp/docs.sh
309       - shell:
310           !include-raw-escape:
311           - ../scripts/vpp/docs_spell.sh
312
313     publishers:
314       - fdio-infra-publish-docs
315       - fdio-infra-publish