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