Convert VPP docs upload destination from nexus to amazon S3.
[ci-management.git] / jjb / vpp / docs.yaml
1 ---
2 - project:
3     name: docs
4     jobs:
5       - 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
6       - 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
7
8     project: 'vpp'
9     executor-arch: 'x86_64'
10     os: 'ubuntu2004'
11
12     stream:
13       - master:
14           branch: 'master'
15           branch-refspec: ''
16       - '2009':
17           branch: 'stable/2009'
18           branch-refspec: ''
19       - '2101':
20           branch: 'stable/2101'
21           branch-refspec: ''
22       - '2106':
23           branch: 'stable/2106'
24           branch-refspec: ''
25       - '2110':
26           branch: 'stable/2110'
27           branch-refspec: ''
28
29 # TODO: Remove when stable/2106 and stable/2110 are no longer supported.
30 - project:
31     name: make-test-docs
32     jobs:
33       - 'vpp-make-test-docs-merge-{stream}-{os}-{executor-arch}'
34       - 'vpp-make-test-docs-verify-{stream}-{os}-{executor-arch}'
35
36     project: 'vpp'
37     executor-arch: 'x86_64'
38     os: 'ubuntu2004'
39
40     stream:
41       - '2106':
42           branch: 'stable/2106'
43           branch-refspec: ''
44       - '2110':
45           branch: 'stable/2110'
46           branch-refspec: ''
47
48 - job-template:
49     name: 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
50
51     project-type: freestyle
52     node: 'builder-{os}-prod-{executor-arch}'
53     concurrent: true
54     allow-empty: 'true'
55     fingerprint: false
56     only-if-success: true
57     default-excludes: false
58
59     properties:
60       - lf-infra-properties:
61           build-days-to-keep: "{build-days-to-keep}"
62
63     parameters:
64       - project-parameter:
65           project: '{project}'
66       - gerrit-parameter:
67           branch: '{branch}'
68       - os-parameter:
69           os: '{os}'
70       - stream-parameter:
71           stream: '{stream}'
72       - gerrit-refspec-parameter:
73           refspec: '{branch-refspec}'
74
75     scm:
76       - gerrit-trigger-scm:
77           credentials-id: 'jenkins-gerrit-credentials'
78           refspec: '$GERRIT_REFSPEC'
79           choosing-strategy: 'gerrit'
80
81     wrappers:
82       - fdio-infra-wrappers:
83           build-timeout: '{build-timeout}'
84
85     triggers:
86       - gerrit-trigger-checkstyle:
87           name: '{project}'
88           branch: '{branch}'
89
90     builders:
91       - shell:
92           !include-raw-escape:
93           - ../scripts/setup_executor_env.sh
94       - shell:
95           !include-raw-escape:
96           - ../scripts/setup_vpp_ubuntu_docker_test.sh
97       - shell:
98           !include-raw-escape:
99           - ../scripts/vpp/docs.sh
100
101     publishers:
102       - fdio-infra-publish
103
104 - job-template:
105     name: 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
106
107     project-type: freestyle
108     node: 'builder-{os}-prod-{executor-arch}'
109     concurrent: false
110     allow-empty: 'true'
111     fingerprint: false
112     only-if-success: true
113     default-excludes: false
114
115     properties:
116       - lf-infra-properties:
117           build-days-to-keep: "{build-days-to-keep}"
118
119     parameters:
120       - project-parameter:
121           project: '{project}'
122       - gerrit-parameter:
123           branch: '{branch}'
124       - os-parameter:
125           os: '{os}'
126       - stream-parameter:
127           stream: '{stream}'
128
129     scm:
130       - gerrit-trigger-scm:
131           credentials-id: 'jenkins-gerrit-credentials'
132           refspec: ''
133           choosing-strategy: 'default'
134
135     wrappers:
136       - fdio-infra-wrappers:
137           build-timeout: '{build-timeout}'
138
139     triggers:
140       - reverse:
141           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
142           result: 'success'
143       - gerrit:
144           server-name: 'Primary'
145           trigger-on:
146             - comment-added-contains-event:
147                 comment-contains-value: 'run-docs'
148           projects:
149             - project-compare-type: 'ANT'
150               project-pattern: '{project}'
151               branches:
152                 - branch-compare-type: 'ANT'
153                   branch-pattern: '**/{branch}'
154           skip-vote:
155             successful: true
156             failed: true
157             unstable: true
158             notbuilt: true
159
160     builders:
161       - shell:
162           !include-raw-escape:
163           - ../scripts/setup_executor_env.sh
164       - shell:
165           !include-raw-escape:
166           - ../scripts/setup_vpp_ubuntu_docker_test.sh
167       - shell:
168           !include-raw-escape:
169           - ../scripts/vpp/docs.sh
170
171     publishers:
172       - fdio-infra-publish-docs
173       - fdio-infra-publish
174
175
176 - job-template:
177     name: 'vpp-make-test-docs-verify-{stream}-{os}-{executor-arch}'
178
179     project-type: freestyle
180     node: 'builder-{os}-prod-{executor-arch}'
181     concurrent: true
182     allow-empty: 'true'
183     fingerprint: false
184     only-if-success: true
185     default-excludes: false
186
187     properties:
188       - lf-infra-properties:
189           build-days-to-keep: "{build-days-to-keep}"
190
191     parameters:
192       - project-parameter:
193           project: '{project}'
194       - gerrit-parameter:
195           branch: '{branch}'
196       - os-parameter:
197           os: '{os}'
198       - stream-parameter:
199           stream: '{stream}'
200       - gerrit-refspec-parameter:
201           refspec: '{branch-refspec}'
202
203     scm:
204       - gerrit-trigger-scm:
205           credentials-id: 'jenkins-gerrit-credentials'
206           refspec: '$GERRIT_REFSPEC'
207           choosing-strategy: 'gerrit'
208
209     wrappers:
210       - fdio-infra-wrappers:
211           build-timeout: '{build-timeout}'
212
213     triggers:
214       - gerrit-trigger-checkstyle:
215           name: '{project}'
216           branch: '{branch}'
217
218     builders:
219       - shell:
220           !include-raw-escape:
221           - ../scripts/setup_executor_env.sh
222       - shell:
223           !include-raw-escape:
224           - ../scripts/setup_vpp_ubuntu_docker_test.sh
225       - shell:
226           !include-raw-escape:
227           - ../scripts/vpp/make-test-docs.sh
228
229     publishers:
230       - fdio-infra-publish
231
232 - job-template:
233     name: 'vpp-make-test-docs-merge-{stream}-{os}-{executor-arch}'
234
235     project-type: freestyle
236     node: 'builder-{os}-prod-{executor-arch}'
237     concurrent: false
238     allow-empty: 'true'
239     fingerprint: false
240     only-if-success: true
241     default-excludes: false
242
243     properties:
244       - lf-infra-properties:
245           build-days-to-keep: "{build-days-to-keep}"
246
247     parameters:
248       - project-parameter:
249           project: '{project}'
250       - gerrit-parameter:
251           branch: '{branch}'
252       - os-parameter:
253           os: '{os}'
254       - stream-parameter:
255           stream: '{stream}'
256
257     scm:
258       - gerrit-trigger-scm:
259           credentials-id: 'jenkins-gerrit-credentials'
260           refspec: ''
261           choosing-strategy: 'default'
262
263     wrappers:
264       - fdio-infra-wrappers:
265           build-timeout: '{build-timeout}'
266
267     triggers:
268       - reverse:
269           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
270           result: 'success'
271       - gerrit:
272           server-name: 'Primary'
273           trigger-on:
274             - comment-added-contains-event:
275                 comment-contains-value: 'run-docs'
276           projects:
277             - project-compare-type: 'ANT'
278               project-pattern: '{project}'
279               branches:
280                 - branch-compare-type: 'ANT'
281                   branch-pattern: '**/{branch}'
282           skip-vote:
283             successful: true
284             failed: true
285             unstable: true
286             notbuilt: true
287
288     builders:
289       - shell:
290           !include-raw-escape:
291           - ../scripts/setup_executor_env.sh
292       - shell:
293           !include-raw-escape:
294           - ../scripts/setup_vpp_ubuntu_docker_test.sh
295       - shell:
296           !include-raw-escape:
297           - ../scripts/vpp/make-test-docs.sh
298
299     publishers:
300       - fdio-infra-publish-docs
301       - fdio-infra-publish