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