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