1 # Copyright (c) 2019 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
17 description: 'CSIT Jenkins jobs.'
20 - 'csit-docs-verify-{stream}'
21 - 'csit-docs-merge-{stream_timed}'
22 - 'csit-report-merge-{stream}'
23 - 'csit-report-merge-1901_2'
24 - 'csit-report-merge-1904_1'
25 - 'csit-trending-daily-master'
29 executor: 'ubuntu1804-us'
30 build-artifact-num-to-keep: 10
34 executor: 'ubuntu1804-us'
37 executor: 'ubuntu1804-us'
41 executor: 'ubuntu1804-us'
44 executor: 'ubuntu1604-basebuild-4c-4g'
47 executor: 'ubuntu1604-basebuild-4c-4g'
50 executor: 'ubuntu1604-basebuild-4c-4g'
53 executor: 'ubuntu1804-us'
63 name: 'csit-docs-verify-{stream}'
65 project-type: freestyle
68 archive-artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
72 default-excludes: false
75 daysToKeep: '{build-days-to-keep}'
76 numToKeep: '{build-num-to-keep}'
77 artifactDaysToKeep: '{build-artifact-days-to-keep}'
78 artifactNumToKeep: '{build-artifact-num-to-keep}'
86 maven-version: 'mvn33-new'
88 name: ARCHIVE_ARTIFACTS
89 default: '{archive-artifacts}'
90 description: Artifacts to archive to the logs server.
94 credentials-id: 'jenkins-gerrit-credentials'
95 refspec: '$GERRIT_REFSPEC'
96 choosing-strategy: 'gerrit'
99 - fdio-infra-wrappers-non-activity-timeout:
100 build-timeout: '{build-timeout}'
103 - gerrit-trigger-patch-submitted:
109 maven-version: 'mvn33-new'
111 settings: 'csit-settings'
113 global-settings: 'global-settings'
114 global-settings-type: cfp
115 - provide-maven-settings:
116 settings-file: 'csit-settings'
117 global-settings-file: 'global-settings'
119 !include-raw-escape: include-raw-csit-docs.sh
122 - fdio-infra-shiplogs:
123 maven-version: 'mvn33-new'
126 name: 'csit-docs-merge-{stream_timed}'
128 project-type: freestyle
131 archive-artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
134 only-if-success: true
135 default-excludes: false
138 daysToKeep: '{build-days-to-keep}'
139 numToKeep: '{build-num-to-keep}'
140 artifactDaysToKeep: '{build-artifact-days-to-keep}'
141 artifactNumToKeep: '{build-artifact-num-to-keep}'
149 maven-version: 'mvn33-new'
151 name: ARCHIVE_ARTIFACTS
152 default: '{archive-artifacts}'
153 description: Artifacts to archive to the logs server.
156 - gerrit-trigger-scm:
157 credentials-id: 'jenkins-gerrit-credentials'
159 choosing-strategy: 'default'
162 - fdio-infra-wrappers-non-activity-timeout:
163 build-timeout: '{build-timeout}'
167 jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
170 server-name: 'Primary'
172 - comment-added-contains-event:
173 comment-contains-value: 'run-docs'
175 - project-compare-type: 'ANT'
176 project-pattern: '{project}'
178 - branch-compare-type: 'ANT'
179 branch-pattern: '**/{branch}'
188 maven-version: 'mvn33-new'
190 settings: 'csit-settings'
192 global-settings: 'global-settings'
193 global-settings-type: cfp
194 - provide-maven-settings:
195 settings-file: 'csit-settings'
196 global-settings-file: 'global-settings'
198 !include-raw-escape: include-raw-csit-docs.sh
201 - fdio-infra-shiplogs:
202 maven-version: 'mvn33-new'
205 name: 'csit-report-merge-{stream}'
207 project-type: freestyle
208 node: 'ubuntu1604-basebuild-8c-32g'
210 archive-artifacts: 'resources/tools/presentation/csit.report.tar.gz'
213 only-if-success: true
214 default-excludes: false
217 daysToKeep: '{build-days-to-keep}'
218 numToKeep: '{build-num-to-keep}'
219 artifactDaysToKeep: '{build-artifact-days-to-keep}'
220 artifactNumToKeep: '{build-artifact-num-to-keep}'
228 maven-version: 'mvn33-new'
230 name: ARCHIVE_ARTIFACTS
231 default: '{archive-artifacts}'
232 description: Artifacts to archive to the logs server.
235 - gerrit-trigger-scm:
236 credentials-id: 'jenkins-gerrit-credentials'
237 refspec: '$GERRIT_REFSPEC'
238 choosing-strategy: 'default'
241 - fdio-infra-wrappers-non-activity-timeout:
242 build-timeout: '{build-timeout}'
246 server-name: 'Primary'
248 - comment-added-contains-event:
249 comment-contains-value: 'run-report'
251 - project-compare-type: 'ANT'
252 project-pattern: '{project}'
254 - branch-compare-type: 'ANT'
255 branch-pattern: '**/{branch}'
264 maven-version: 'mvn33-new'
266 settings: 'csit-settings'
268 global-settings: 'global-settings'
269 global-settings-type: cfp
270 - provide-maven-settings:
271 settings-file: 'csit-settings'
272 global-settings-file: 'global-settings'
274 !include-raw-escape: include-raw-csit-report.sh
277 - fdio-infra-shiplogs:
278 maven-version: 'mvn33-new'
281 name: 'csit-report-merge-1901_2'
283 project-type: freestyle
284 node: 'ubuntu1604-basebuild-8c-32g'
286 archive-artifacts: 'resources/tools/presentation/csit.report.tar.gz'
289 only-if-success: true
290 default-excludes: false
293 daysToKeep: '{build-days-to-keep}'
294 numToKeep: '{build-num-to-keep}'
295 artifactDaysToKeep: '{build-artifact-days-to-keep}'
296 artifactNumToKeep: '{build-artifact-num-to-keep}'
304 maven-version: 'mvn33-new'
306 name: ARCHIVE_ARTIFACTS
307 default: '{archive-artifacts}'
308 description: Artifacts to archive to the logs server.
311 - gerrit-trigger-scm:
312 credentials-id: 'jenkins-gerrit-credentials'
313 refspec: '$GERRIT_REFSPEC'
314 choosing-strategy: 'default'
317 - fdio-infra-wrappers-non-activity-timeout:
318 build-timeout: '{build-timeout}'
322 server-name: 'Primary'
324 - comment-added-contains-event:
325 comment-contains-value: 'run-report'
327 - project-compare-type: 'ANT'
328 project-pattern: '{project}'
330 - branch-compare-type: 'ANT'
331 branch-pattern: '**/rls1901_2'
340 maven-version: 'mvn33-new'
342 settings: 'csit-settings'
344 global-settings: 'global-settings'
345 global-settings-type: cfp
346 - provide-maven-settings:
347 settings-file: 'csit-settings'
348 global-settings-file: 'global-settings'
350 !include-raw-escape: include-raw-csit-report.sh
353 - fdio-infra-shiplogs:
354 maven-version: 'mvn33-new'
357 name: 'csit-report-merge-1904_1'
359 project-type: freestyle
360 node: 'ubuntu1604-basebuild-8c-32g'
362 archive-artifacts: 'resources/tools/presentation/csit.report.tar.gz'
365 only-if-success: true
366 default-excludes: false
369 daysToKeep: '{build-days-to-keep}'
370 numToKeep: '{build-num-to-keep}'
371 artifactDaysToKeep: '{build-artifact-days-to-keep}'
372 artifactNumToKeep: '{build-artifact-num-to-keep}'
380 maven-version: 'mvn33-new'
382 name: ARCHIVE_ARTIFACTS
383 default: '{archive-artifacts}'
384 description: Artifacts to archive to the logs server.
387 - gerrit-trigger-scm:
388 credentials-id: 'jenkins-gerrit-credentials'
389 refspec: '$GERRIT_REFSPEC'
390 choosing-strategy: 'default'
393 - fdio-infra-wrappers-non-activity-timeout:
394 build-timeout: '{build-timeout}'
398 server-name: 'Primary'
400 - comment-added-contains-event:
401 comment-contains-value: 'run-report'
403 - project-compare-type: 'ANT'
404 project-pattern: '{project}'
406 - branch-compare-type: 'ANT'
407 branch-pattern: '**/rls1904_1'
416 maven-version: 'mvn33-new'
418 settings: 'csit-settings'
420 global-settings: 'global-settings'
421 global-settings-type: cfp
422 - provide-maven-settings:
423 settings-file: 'csit-settings'
424 global-settings-file: 'global-settings'
426 !include-raw-escape: include-raw-csit-report.sh
429 - fdio-infra-shiplogs:
430 maven-version: 'mvn33-new'
433 name: 'csit-trending-daily-master'
435 project-type: freestyle
436 node: 'ubuntu1604-basebuild-8c-32g'
440 daysToKeep: '{build-days-to-keep}'
441 numToKeep: '{build-num-to-keep}'
442 artifactDaysToKeep: '{build-artifact-days-to-keep}'
443 artifactNumToKeep: '{build-artifact-num-to-keep}'
451 maven-version: 'mvn33-new'
454 - gerrit-trigger-scm:
455 credentials-id: 'jenkins-gerrit-credentials'
457 choosing-strategy: 'default'
460 - fdio-infra-wrappers-non-activity-timeout:
461 build-timeout: '{build-timeout}'
464 - timed: '0 2,14 * * *'
468 maven-version: 'mvn33-new'
470 settings: 'csit-settings'
472 global-settings: 'global-settings'
473 global-settings-type: cfp
474 - provide-maven-settings:
475 settings-file: 'csit-settings'
476 global-settings-file: 'global-settings'
478 !include-raw-escape: include-raw-csit-cpta.sh
482 # yamllint disable-line rule:line-length
483 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
486 subject: 'Failed tests as of $BUILD_TIMESTAMP'
487 # yamllint disable-line rule:line-length
489 Following tests failed in the last trending job runs, listed per testbed type.
491 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
496 - fdio-infra-shiplogs:
497 maven-version: 'mvn33-new'
503 - gerrit-info-yaml-verify
504 build-node: centos7-builder-4c-4g