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