Update vpp non-voting jobs to use new jenkins labels
[ci-management.git] / jjb / vpp / docs.yaml
1 ---
2 - project:
3     name: docs
4     jobs:
5       - 'vpp-docs-merge-{stream}'
6       - 'vpp-docs-verify-{stream}'
7       - 'vpp-make-test-docs-merge-{stream}'
8       - 'vpp-make-test-docs-verify-{stream}'
9
10     project: 'vpp'
11     executor-arch: 'x86_64'
12     os: 'ubuntu1804'
13
14     stream:
15       - master:
16           branch: 'master'
17       - '1908':
18           branch: 'stable/1908'
19       - '2001':
20           branch: 'stable/2001'
21       - '2005':
22           branch: 'stable/2005'
23       - '2009':
24           branch: 'stable/2009'
25
26 - project:
27     name: sphinx
28     jobs:
29       - 'vpp-sphinx-docs-merge-{stream}'
30       - 'vpp-sphinx-docs-verify-{stream}'
31
32     project: 'vpp'
33     executor-arch: 'x86_64'
34     os: 'ubuntu1804'
35
36     stream:
37       - master:
38           branch: 'master'
39
40 - job-template:
41     name: 'vpp-docs-verify-{stream}'
42
43     project-type: freestyle
44     node: 'builder-{os}-prod-{executor-arch}'
45     concurrent: true
46     allow-empty: 'true'
47     fingerprint: false
48     only-if-success: true
49     default-excludes: false
50
51     build-discarder:
52       daysToKeep: '{build-days-to-keep}'
53       numToKeep: '{build-num-to-keep}'
54       artifactDaysToKeep: '{build-artifact-days-to-keep}'
55       artifactNumToKeep: '{build-artifact-num-to-keep}'
56
57     parameters:
58       - project-parameter:
59           project: '{project}'
60       - gerrit-parameter:
61           branch: '{branch}'
62       - os-parameter:
63           os: '{os}'
64       - maven-exec:
65           maven-version: 'mvn33-new'
66       - stream-parameter:
67           stream: '{stream}'
68       - gerrit-refspec-parameter
69
70     scm:
71       - gerrit-trigger-scm:
72           credentials-id: 'jenkins-gerrit-credentials'
73           refspec: '$GERRIT_REFSPEC'
74           choosing-strategy: 'gerrit'
75
76     wrappers:
77       - fdio-infra-wrappers:
78           build-timeout: '{build-timeout}'
79
80     triggers:
81       - gerrit-trigger-checkstyle:
82           name: '{project}'
83           branch: '{branch}'
84
85     builders:
86       - maven-target:
87           maven-version: 'mvn33-new'
88           goals: '--version'
89           settings: 'vpp-settings'
90           settings-type: cfp
91           global-settings: 'global-settings'
92           global-settings-type: cfp
93       - provide-maven-settings:
94           settings-file: 'vpp-settings'
95           global-settings-file: 'global-settings'
96       - shell:
97           !include-raw-escape:
98           - ../scripts/setup_vpp_ubuntu_docker_test.sh
99       - shell:
100           !include-raw-escape:
101           - ../scripts/vpp/docs.sh
102
103     publishers:
104       - fdio-infra-shiplogs:
105           maven-version: 'mvn36'
106
107 - job-template:
108     name: 'vpp-docs-merge-{stream}'
109
110     project-type: freestyle
111     node: 'builder-{os}-prod-{executor-arch}'
112     concurrent: false
113     archive-artifacts: '**/build-root/docs/html/*'
114     allow-empty: 'true'
115     fingerprint: false
116     only-if-success: true
117     default-excludes: false
118
119     build-discarder:
120       daysToKeep: '{build-days-to-keep}'
121       numToKeep: '{build-num-to-keep}'
122       artifactDaysToKeep: '{build-artifact-days-to-keep}'
123       artifactNumToKeep: '{build-artifact-num-to-keep}'
124
125     parameters:
126       - project-parameter:
127           project: '{project}'
128       - gerrit-parameter:
129           branch: '{branch}'
130       - os-parameter:
131           os: '{os}'
132       - maven-exec:
133           maven-version: 'mvn33-new'
134       - stream-parameter:
135           stream: '{stream}'
136       - string:
137           name: ARCHIVE_ARTIFACTS
138           description: Artifacts to archive to the logs server.
139
140     scm:
141       - gerrit-trigger-scm:
142           credentials-id: 'jenkins-gerrit-credentials'
143           refspec: ''
144           choosing-strategy: 'default'
145
146     wrappers:
147       - fdio-infra-wrappers:
148           build-timeout: '{build-timeout}'
149
150     triggers:
151       - reverse:
152           jobs: 'vpp-merge-{stream}-ubuntu1804'
153           result: 'success'
154       - gerrit:
155           server-name: 'Primary'
156           trigger-on:
157             - comment-added-contains-event:
158                 comment-contains-value: 'run-docs'
159           projects:
160             - project-compare-type: 'ANT'
161               project-pattern: '{project}'
162               branches:
163                 - branch-compare-type: 'ANT'
164                   branch-pattern: '**/{branch}'
165           skip-vote:
166             successful: true
167             failed: true
168             unstable: true
169             notbuilt: true
170
171     builders:
172       - maven-target:
173           maven-version: 'mvn33-new'
174           goals: '--version'
175           settings: 'vpp-settings'
176           settings-type: cfp
177           global-settings: 'global-settings'
178           global-settings-type: cfp
179       - provide-maven-settings:
180           settings-file: 'vpp-settings'
181           global-settings-file: 'global-settings'
182       - shell:
183           !include-raw-escape:
184           - ../scripts/setup_vpp_ubuntu_docker_test.sh
185       - shell:
186           !include-raw-escape:
187           - ../scripts/vpp/docs.sh
188
189     publishers:
190       - fdio-infra-shiplogs:
191           maven-version: 'mvn36'
192
193 - job-template:
194     name: 'vpp-sphinx-docs-verify-{stream}'
195
196     project-type: freestyle
197     node: 'builder-{os}-prod-{executor-arch}'
198     concurrent: true
199     allow-empty: 'true'
200     fingerprint: false
201     only-if-success: true
202     default-excludes: false
203
204     build-discarder:
205       daysToKeep: '{build-days-to-keep}'
206       numToKeep: '{build-num-to-keep}'
207       artifactDaysToKeep: '{build-artifact-days-to-keep}'
208       artifactNumToKeep: '{build-artifact-num-to-keep}'
209
210     parameters:
211       - project-parameter:
212           project: '{project}'
213       - gerrit-parameter:
214           branch: '{branch}'
215       - os-parameter:
216           os: '{os}'
217       - maven-exec:
218           maven-version: 'mvn33-new'
219       - stream-parameter:
220           stream: '{stream}'
221       - gerrit-refspec-parameter
222
223     scm:
224       - gerrit-trigger-scm:
225           credentials-id: 'jenkins-gerrit-credentials'
226           refspec: '$GERRIT_REFSPEC'
227           choosing-strategy: 'gerrit'
228
229     wrappers:
230       - fdio-infra-wrappers:
231           build-timeout: '{build-timeout}'
232
233     triggers:
234       - gerrit:
235           server-name: 'Primary'
236           trigger-on:
237             - comment-added-contains-event:
238                 comment-contains-value: 'run-sphinx-docs-verify'
239           projects:
240             - project-compare-type: 'ANT'
241               project-pattern: '{project}'
242               branches:
243                 - branch-compare-type: 'ANT'
244                   branch-pattern: '**/{branch}'
245           skip-vote:
246             successful: true
247             failed: true
248             unstable: true
249             notbuilt: true
250
251     builders:
252       - maven-target:
253           maven-version: 'mvn33-new'
254           goals: '--version'
255           settings: 'vpp-settings'
256           settings-type: cfp
257           global-settings: 'global-settings'
258           global-settings-type: cfp
259       - provide-maven-settings:
260           settings-file: 'vpp-settings'
261           global-settings-file: 'global-settings'
262       - shell:
263           !include-raw-escape:
264           - ../scripts/setup_vpp_ubuntu_docker_test.sh
265       - shell:
266           !include-raw-escape:
267           - ../scripts/vpp/sphinx-docs.sh
268
269     publishers:
270       - fdio-infra-shiplogs:
271           maven-version: 'mvn36'
272
273 - job-template:
274     name: 'vpp-sphinx-docs-merge-{stream}'
275
276     project-type: freestyle
277     node: 'builder-{os}-prod-{executor-arch}'
278     concurrent: false
279     archive-artifacts: 'docs/_build/html/*'
280     allow-empty: 'true'
281     fingerprint: false
282     only-if-success: true
283     default-excludes: false
284
285     build-discarder:
286       daysToKeep: '{build-days-to-keep}'
287       numToKeep: '{build-num-to-keep}'
288       artifactDaysToKeep: '{build-artifact-days-to-keep}'
289       artifactNumToKeep: '{build-artifact-num-to-keep}'
290
291     parameters:
292       - project-parameter:
293           project: '{project}'
294       - gerrit-parameter:
295           branch: '{branch}'
296       - os-parameter:
297           os: '{os}'
298       - maven-exec:
299           maven-version: 'mvn33-new'
300       - stream-parameter:
301           stream: '{stream}'
302       - string:
303           name: ARCHIVE_ARTIFACTS
304           default: '{archive-artifacts}'
305           description: Artifacts to archive to the logs server.
306
307     scm:
308       - gerrit-trigger-scm:
309           credentials-id: 'jenkins-gerrit-credentials'
310           refspec: ''
311           choosing-strategy: 'default'
312
313     wrappers:
314       - fdio-infra-wrappers:
315           build-timeout: '{build-timeout}'
316
317     triggers:
318       - gerrit:
319           server-name: 'Primary'
320           trigger-on:
321             - comment-added-contains-event:
322                 comment-contains-value: 'run-sphinx-docs-merged'
323           skip-vote:
324             successful: true
325             failed: true
326             unstable: true
327             notbuilt: true
328
329     builders:
330       - maven-target:
331           maven-version: 'mvn33-new'
332           goals: '--version'
333           settings: 'vpp-settings'
334           settings-type: cfp
335           global-settings: 'global-settings'
336           global-settings-type: cfp
337       - provide-maven-settings:
338           settings-file: 'vpp-settings'
339           global-settings-file: 'global-settings'
340       - shell:
341           !include-raw-escape:
342           - ../scripts/setup_vpp_ubuntu_docker_test.sh
343       - shell:
344           !include-raw-escape:
345           - ../scripts/vpp/sphinx-docs.sh
346
347     publishers:
348       - fdio-infra-shiplogs:
349           maven-version: 'mvn36'
350
351 - job-template:
352     name: 'vpp-make-test-docs-verify-{stream}'
353
354     project-type: freestyle
355     node: 'builder-{os}-prod-{executor-arch}'
356     concurrent: true
357     allow-empty: 'true'
358     fingerprint: false
359     only-if-success: true
360     default-excludes: false
361
362     build-discarder:
363       daysToKeep: '{build-days-to-keep}'
364       numToKeep: '{build-num-to-keep}'
365       artifactDaysToKeep: '{build-artifact-days-to-keep}'
366       artifactNumToKeep: '{build-artifact-num-to-keep}'
367
368     parameters:
369       - project-parameter:
370           project: '{project}'
371       - gerrit-parameter:
372           branch: '{branch}'
373       - os-parameter:
374           os: '{os}'
375       - maven-exec:
376           maven-version: 'mvn33-new'
377       - stream-parameter:
378           stream: '{stream}'
379       - gerrit-refspec-parameter
380
381     scm:
382       - gerrit-trigger-scm:
383           credentials-id: 'jenkins-gerrit-credentials'
384           refspec: '$GERRIT_REFSPEC'
385           choosing-strategy: 'gerrit'
386
387     wrappers:
388       - fdio-infra-wrappers:
389           build-timeout: '{build-timeout}'
390
391     triggers:
392       - gerrit-trigger-checkstyle:
393           name: '{project}'
394           branch: '{branch}'
395
396     builders:
397       - maven-target:
398           maven-version: 'mvn33-new'
399           goals: '--version'
400           settings: 'vpp-settings'
401           settings-type: cfp
402           global-settings: 'global-settings'
403           global-settings-type: cfp
404       - provide-maven-settings:
405           settings-file: 'vpp-settings'
406           global-settings-file: 'global-settings'
407       - shell:
408           !include-raw-escape:
409           - ../scripts/setup_vpp_ubuntu_docker_test.sh
410       - shell:
411           !include-raw-escape:
412           - ../scripts/vpp/make-test-docs.sh
413
414     publishers:
415       - fdio-infra-shiplogs:
416           maven-version: 'mvn36'
417
418 - job-template:
419     name: 'vpp-make-test-docs-merge-{stream}'
420
421     project-type: freestyle
422     node: 'builder-{os}-prod-{executor-arch}'
423     concurrent: false
424     archive-artifacts: '**/build-root/build-test/doc/html/*'
425     allow-empty: 'true'
426     fingerprint: false
427     only-if-success: true
428     default-excludes: false
429
430     build-discarder:
431       daysToKeep: '{build-days-to-keep}'
432       numToKeep: '{build-num-to-keep}'
433       artifactDaysToKeep: '{build-artifact-days-to-keep}'
434       artifactNumToKeep: '{build-artifact-num-to-keep}'
435
436     parameters:
437       - project-parameter:
438           project: '{project}'
439       - gerrit-parameter:
440           branch: '{branch}'
441       - os-parameter:
442           os: '{os}'
443       - maven-exec:
444           maven-version: 'mvn33-new'
445       - stream-parameter:
446           stream: '{stream}'
447       - string:
448           name: ARCHIVE_ARTIFACTS
449           default: '{archive-artifacts}'
450           description: Artifacts to archive to the logs server.
451
452     scm:
453       - gerrit-trigger-scm:
454           credentials-id: 'jenkins-gerrit-credentials'
455           refspec: ''
456           choosing-strategy: 'default'
457
458     wrappers:
459       - fdio-infra-wrappers:
460           build-timeout: '{build-timeout}'
461
462     triggers:
463       - reverse:
464           jobs: 'vpp-merge-{stream}-ubuntu1804'
465           result: 'success'
466       - gerrit:
467           server-name: 'Primary'
468           trigger-on:
469             - comment-added-contains-event:
470                 comment-contains-value: 'run-docs'
471           projects:
472             - project-compare-type: 'ANT'
473               project-pattern: '{project}'
474               branches:
475                 - branch-compare-type: 'ANT'
476                   branch-pattern: '**/{branch}'
477           skip-vote:
478             successful: true
479             failed: true
480             unstable: true
481             notbuilt: true
482
483     builders:
484       - maven-target:
485           maven-version: 'mvn33-new'
486           goals: '--version'
487           settings: 'vpp-settings'
488           settings-type: cfp
489           global-settings: 'global-settings'
490           global-settings-type: cfp
491       - provide-maven-settings:
492           settings-file: 'vpp-settings'
493           global-settings-file: 'global-settings'
494       - shell:
495           !include-raw-escape:
496           - ../scripts/setup_vpp_ubuntu_docker_test.sh
497       - shell:
498           !include-raw-escape:
499           - ../scripts/vpp/make-test-docs.sh
500
501     publishers:
502       - fdio-infra-shiplogs:
503           maven-version: 'mvn36'