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_3'
24 - 'csit-report-merge-1904_2'
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: 'ubuntu1804-us'
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: '{executor-large}'
209 only-if-success: true
210 default-excludes: false
213 daysToKeep: '{build-days-to-keep}'
214 numToKeep: '{build-num-to-keep}'
215 artifactDaysToKeep: '{build-artifact-days-to-keep}'
216 artifactNumToKeep: '{build-artifact-num-to-keep}'
224 maven-version: 'mvn33-new'
226 name: ARCHIVE_ARTIFACTS
227 default: '{archive-artifacts}'
228 description: Artifacts to archive to the logs server.
231 - gerrit-trigger-scm:
232 credentials-id: 'jenkins-gerrit-credentials'
233 refspec: '$GERRIT_REFSPEC'
234 choosing-strategy: 'default'
237 - fdio-infra-wrappers-non-activity-timeout:
238 build-timeout: '{build-timeout}'
242 server-name: 'Primary'
244 - comment-added-contains-event:
245 comment-contains-value: 'run-report'
247 - project-compare-type: 'ANT'
248 project-pattern: '{project}'
250 - branch-compare-type: 'ANT'
251 branch-pattern: '**/{branch}'
260 maven-version: 'mvn33-new'
262 settings: 'csit-settings'
264 global-settings: 'global-settings'
265 global-settings-type: cfp
266 - provide-maven-settings:
267 settings-file: 'csit-settings'
268 global-settings-file: 'global-settings'
270 !include-raw-escape: include-raw-csit-report.sh
273 - fdio-infra-shiplogs:
274 maven-version: 'mvn33-new'
277 name: 'csit-report-merge-1901_3'
279 project-type: freestyle
280 node: '{executor-large}'
284 only-if-success: true
285 default-excludes: false
288 daysToKeep: '{build-days-to-keep}'
289 numToKeep: '{build-num-to-keep}'
290 artifactDaysToKeep: '{build-artifact-days-to-keep}'
291 artifactNumToKeep: '{build-artifact-num-to-keep}'
299 maven-version: 'mvn33-new'
301 name: ARCHIVE_ARTIFACTS
302 default: '{archive-artifacts}'
303 description: Artifacts to archive to the logs server.
306 - gerrit-trigger-scm:
307 credentials-id: 'jenkins-gerrit-credentials'
308 refspec: '$GERRIT_REFSPEC'
309 choosing-strategy: 'default'
312 - fdio-infra-wrappers-non-activity-timeout:
313 build-timeout: '{build-timeout}'
317 server-name: 'Primary'
319 - comment-added-contains-event:
320 comment-contains-value: 'run-report'
322 - project-compare-type: 'ANT'
323 project-pattern: '{project}'
325 - branch-compare-type: 'ANT'
326 branch-pattern: '**/rls1901_3'
335 maven-version: 'mvn33-new'
337 settings: 'csit-settings'
339 global-settings: 'global-settings'
340 global-settings-type: cfp
341 - provide-maven-settings:
342 settings-file: 'csit-settings'
343 global-settings-file: 'global-settings'
345 !include-raw-escape: include-raw-csit-report.sh
348 - fdio-infra-shiplogs:
349 maven-version: 'mvn33-new'
352 name: 'csit-report-merge-1904_2'
354 project-type: freestyle
355 node: '{executor-large}'
359 only-if-success: true
360 default-excludes: false
363 daysToKeep: '{build-days-to-keep}'
364 numToKeep: '{build-num-to-keep}'
365 artifactDaysToKeep: '{build-artifact-days-to-keep}'
366 artifactNumToKeep: '{build-artifact-num-to-keep}'
374 maven-version: 'mvn33-new'
376 name: ARCHIVE_ARTIFACTS
377 default: '{archive-artifacts}'
378 description: Artifacts to archive to the logs server.
381 - gerrit-trigger-scm:
382 credentials-id: 'jenkins-gerrit-credentials'
383 refspec: '$GERRIT_REFSPEC'
384 choosing-strategy: 'default'
387 - fdio-infra-wrappers-non-activity-timeout:
388 build-timeout: '{build-timeout}'
392 server-name: 'Primary'
394 - comment-added-contains-event:
395 comment-contains-value: 'run-report'
397 - project-compare-type: 'ANT'
398 project-pattern: '{project}'
400 - branch-compare-type: 'ANT'
401 branch-pattern: '**/rls1904_2'
410 maven-version: 'mvn33-new'
412 settings: 'csit-settings'
414 global-settings: 'global-settings'
415 global-settings-type: cfp
416 - provide-maven-settings:
417 settings-file: 'csit-settings'
418 global-settings-file: 'global-settings'
420 !include-raw-escape: include-raw-csit-report.sh
423 - fdio-infra-shiplogs:
424 maven-version: 'mvn33-new'
427 name: 'csit-trending-daily-master'
429 project-type: freestyle
430 node: '{executor-large}'
434 daysToKeep: '{build-days-to-keep}'
435 numToKeep: '{build-num-to-keep}'
436 artifactDaysToKeep: '{build-artifact-days-to-keep}'
437 artifactNumToKeep: '{build-artifact-num-to-keep}'
445 maven-version: 'mvn33-new'
448 - gerrit-trigger-scm:
449 credentials-id: 'jenkins-gerrit-credentials'
451 choosing-strategy: 'default'
454 - fdio-infra-wrappers-non-activity-timeout:
455 build-timeout: '{build-timeout}'
458 - timed: '0 2,14 * * *'
462 maven-version: 'mvn33-new'
464 settings: 'csit-settings'
466 global-settings: 'global-settings'
467 global-settings-type: cfp
468 - provide-maven-settings:
469 settings-file: 'csit-settings'
470 global-settings-file: 'global-settings'
472 !include-raw-escape: include-raw-csit-cpta.sh
476 # yamllint disable-line rule:line-length
477 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
480 subject: 'Failed tests as of $BUILD_TIMESTAMP'
481 # yamllint disable-line rule:line-length
483 Following tests failed in the last trending job runs, listed per testbed type.
485 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
490 - fdio-infra-shiplogs:
491 maven-version: 'mvn33-new'
497 - gerrit-info-yaml-verify
498 build-node: centos7-builder-4c-4g