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