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