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