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 executor-large: 'ubuntu1804-l'
31 build-artifact-num-to-keep: 10
35 executor: 'ubuntu1804-us'
38 executor: 'ubuntu1804-us'
42 executor: 'ubuntu1804-us'
45 executor: 'ubuntu1604-basebuild-4c-4g'
48 executor: 'ubuntu1604-basebuild-4c-4g'
51 executor: 'ubuntu1804-us'
61 name: 'csit-docs-verify-{stream}'
63 project-type: freestyle
66 archive-artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
70 default-excludes: false
73 daysToKeep: '{build-days-to-keep}'
74 numToKeep: '{build-num-to-keep}'
75 artifactDaysToKeep: '{build-artifact-days-to-keep}'
76 artifactNumToKeep: '{build-artifact-num-to-keep}'
84 maven-version: 'mvn33-new'
86 name: ARCHIVE_ARTIFACTS
87 default: '{archive-artifacts}'
88 description: Artifacts to archive to the logs server.
92 credentials-id: 'jenkins-gerrit-credentials'
93 refspec: '$GERRIT_REFSPEC'
94 choosing-strategy: 'gerrit'
97 - fdio-infra-wrappers-non-activity-timeout:
98 build-timeout: '{build-timeout}'
101 - gerrit-trigger-patch-submitted:
107 maven-version: 'mvn33-new'
109 settings: 'csit-settings'
111 global-settings: 'global-settings'
112 global-settings-type: cfp
113 - provide-maven-settings:
114 settings-file: 'csit-settings'
115 global-settings-file: 'global-settings'
117 !include-raw-escape: include-raw-csit-docs.sh
120 - fdio-infra-shiplogs:
121 maven-version: 'mvn33-new'
124 name: 'csit-docs-merge-{stream_timed}'
126 project-type: freestyle
131 only-if-success: true
132 default-excludes: false
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}'
146 maven-version: 'mvn33-new'
148 name: ARCHIVE_ARTIFACTS
149 default: '{archive-artifacts}'
150 description: Artifacts to archive to the logs server.
153 - gerrit-trigger-scm:
154 credentials-id: 'jenkins-gerrit-credentials'
156 choosing-strategy: 'default'
159 - fdio-infra-wrappers-non-activity-timeout:
160 build-timeout: '{build-timeout}'
164 jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
167 server-name: 'Primary'
169 - comment-added-contains-event:
170 comment-contains-value: 'run-docs'
172 - project-compare-type: 'ANT'
173 project-pattern: '{project}'
175 - branch-compare-type: 'ANT'
176 branch-pattern: '**/{branch}'
185 maven-version: 'mvn33-new'
187 settings: 'csit-settings'
189 global-settings: 'global-settings'
190 global-settings-type: cfp
191 - provide-maven-settings:
192 settings-file: 'csit-settings'
193 global-settings-file: 'global-settings'
195 !include-raw-escape: include-raw-csit-docs.sh
198 - fdio-infra-shiplogs:
199 maven-version: 'mvn33-new'
202 name: 'csit-report-merge-{stream}'
204 project-type: freestyle
205 node: 'ubuntu1604-basebuild-8c-32g'
207 archive-artifacts: 'resources/tools/presentation/csit.report.tar.gz'
210 only-if-success: true
211 default-excludes: false
214 daysToKeep: '{build-days-to-keep}'
215 numToKeep: '{build-num-to-keep}'
216 artifactDaysToKeep: '{build-artifact-days-to-keep}'
217 artifactNumToKeep: '{build-artifact-num-to-keep}'
225 maven-version: 'mvn33-new'
227 name: ARCHIVE_ARTIFACTS
228 default: '{archive-artifacts}'
229 description: Artifacts to archive to the logs server.
232 - gerrit-trigger-scm:
233 credentials-id: 'jenkins-gerrit-credentials'
234 refspec: '$GERRIT_REFSPEC'
235 choosing-strategy: 'default'
238 - fdio-infra-wrappers-non-activity-timeout:
239 build-timeout: '{build-timeout}'
243 server-name: 'Primary'
245 - comment-added-contains-event:
246 comment-contains-value: 'run-report'
248 - project-compare-type: 'ANT'
249 project-pattern: '{project}'
251 - branch-compare-type: 'ANT'
252 branch-pattern: '**/{branch}'
261 maven-version: 'mvn33-new'
263 settings: 'csit-settings'
265 global-settings: 'global-settings'
266 global-settings-type: cfp
267 - provide-maven-settings:
268 settings-file: 'csit-settings'
269 global-settings-file: 'global-settings'
271 !include-raw-escape: include-raw-csit-report.sh
274 - fdio-infra-shiplogs:
275 maven-version: 'mvn33-new'
278 name: 'csit-report-merge-1901_2'
280 project-type: freestyle
281 node: 'ubuntu1604-basebuild-8c-32g'
283 archive-artifacts: 'resources/tools/presentation/csit.report.tar.gz'
286 only-if-success: true
287 default-excludes: false
290 daysToKeep: '{build-days-to-keep}'
291 numToKeep: '{build-num-to-keep}'
292 artifactDaysToKeep: '{build-artifact-days-to-keep}'
293 artifactNumToKeep: '{build-artifact-num-to-keep}'
301 maven-version: 'mvn33-new'
303 name: ARCHIVE_ARTIFACTS
304 default: '{archive-artifacts}'
305 description: Artifacts to archive to the logs server.
308 - gerrit-trigger-scm:
309 credentials-id: 'jenkins-gerrit-credentials'
310 refspec: '$GERRIT_REFSPEC'
311 choosing-strategy: 'default'
314 - fdio-infra-wrappers-non-activity-timeout:
315 build-timeout: '{build-timeout}'
319 server-name: 'Primary'
321 - comment-added-contains-event:
322 comment-contains-value: 'run-report'
324 - project-compare-type: 'ANT'
325 project-pattern: '{project}'
327 - branch-compare-type: 'ANT'
328 branch-pattern: '**/rls1901_2'
337 maven-version: 'mvn33-new'
339 settings: 'csit-settings'
341 global-settings: 'global-settings'
342 global-settings-type: cfp
343 - provide-maven-settings:
344 settings-file: 'csit-settings'
345 global-settings-file: 'global-settings'
347 !include-raw-escape: include-raw-csit-report.sh
350 - fdio-infra-shiplogs:
351 maven-version: 'mvn33-new'
354 name: 'csit-report-merge-1904_1'
356 project-type: freestyle
357 node: 'ubuntu1604-basebuild-8c-32g'
359 archive-artifacts: 'resources/tools/presentation/csit.report.tar.gz'
362 only-if-success: true
363 default-excludes: false
366 daysToKeep: '{build-days-to-keep}'
367 numToKeep: '{build-num-to-keep}'
368 artifactDaysToKeep: '{build-artifact-days-to-keep}'
369 artifactNumToKeep: '{build-artifact-num-to-keep}'
377 maven-version: 'mvn33-new'
379 name: ARCHIVE_ARTIFACTS
380 default: '{archive-artifacts}'
381 description: Artifacts to archive to the logs server.
384 - gerrit-trigger-scm:
385 credentials-id: 'jenkins-gerrit-credentials'
386 refspec: '$GERRIT_REFSPEC'
387 choosing-strategy: 'default'
390 - fdio-infra-wrappers-non-activity-timeout:
391 build-timeout: '{build-timeout}'
395 server-name: 'Primary'
397 - comment-added-contains-event:
398 comment-contains-value: 'run-report'
400 - project-compare-type: 'ANT'
401 project-pattern: '{project}'
403 - branch-compare-type: 'ANT'
404 branch-pattern: '**/rls1904_1'
413 maven-version: 'mvn33-new'
415 settings: 'csit-settings'
417 global-settings: 'global-settings'
418 global-settings-type: cfp
419 - provide-maven-settings:
420 settings-file: 'csit-settings'
421 global-settings-file: 'global-settings'
423 !include-raw-escape: include-raw-csit-report.sh
426 - fdio-infra-shiplogs:
427 maven-version: 'mvn33-new'
430 name: 'csit-trending-daily-master'
432 project-type: freestyle
433 node: '{executor-large}'
437 daysToKeep: '{build-days-to-keep}'
438 numToKeep: '{build-num-to-keep}'
439 artifactDaysToKeep: '{build-artifact-days-to-keep}'
440 artifactNumToKeep: '{build-artifact-num-to-keep}'
448 maven-version: 'mvn33-new'
451 - gerrit-trigger-scm:
452 credentials-id: 'jenkins-gerrit-credentials'
454 choosing-strategy: 'default'
457 - fdio-infra-wrappers-non-activity-timeout:
458 build-timeout: '{build-timeout}'
461 - timed: '0 2,14 * * *'
464 - provide-maven-settings:
465 settings-file: 'csit-settings'
466 global-settings-file: 'global-settings'
468 !include-raw-escape: include-raw-csit-cpta.sh
472 # yamllint disable-line rule:line-length
473 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
476 subject: 'Failed tests as of $BUILD_TIMESTAMP'
477 # yamllint disable-line rule:line-length
479 Following tests failed in the last trending job runs, listed per testbed type.
481 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
486 - fdio-infra-shiplogs:
487 maven-version: 'mvn33-new'
493 - gerrit-info-yaml-verify
494 build-node: centos7-builder-4c-4g