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-merge-{stream_timed}'
21 - 'csit-report-merge-{stream}'
22 - 'csit-report-merge-1901_3'
23 - 'csit-report-merge-1904_2'
24 - 'csit-trending-daily-master'
28 executor: 'ubuntu1804-us'
29 executor-large: 'ubuntu1804-l'
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: 'ubuntu1804-us'
50 executor: 'ubuntu1804-us'
59 name: 'csit-docs-merge-{stream_timed}'
61 project-type: freestyle
67 default-excludes: false
70 daysToKeep: '{build-days-to-keep}'
71 numToKeep: '{build-num-to-keep}'
72 artifactDaysToKeep: '{build-artifact-days-to-keep}'
73 artifactNumToKeep: '{build-artifact-num-to-keep}'
81 maven-version: 'mvn33-new'
83 name: ARCHIVE_ARTIFACTS
84 default: '{archive-artifacts}'
85 description: Artifacts to archive to the logs server.
89 credentials-id: 'jenkins-gerrit-credentials'
91 choosing-strategy: 'default'
94 - fdio-infra-wrappers-non-activity-timeout:
95 build-timeout: '{build-timeout}'
99 jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
102 server-name: 'Primary'
104 - comment-added-contains-event:
105 comment-contains-value: 'run-docs'
107 - project-compare-type: 'ANT'
108 project-pattern: '{project}'
110 - branch-compare-type: 'ANT'
111 branch-pattern: '**/{branch}'
120 maven-version: 'mvn33-new'
122 settings: 'csit-settings'
124 global-settings: 'global-settings'
125 global-settings-type: cfp
126 - provide-maven-settings:
127 settings-file: 'csit-settings'
128 global-settings-file: 'global-settings'
130 !include-raw-escape: include-raw-csit-docs.sh
133 - fdio-infra-shiplogs:
134 maven-version: 'mvn33-new'
137 name: 'csit-report-merge-{stream}'
139 project-type: freestyle
140 node: '{executor-large}'
144 only-if-success: true
145 default-excludes: false
148 daysToKeep: '{build-days-to-keep}'
149 numToKeep: '{build-num-to-keep}'
150 artifactDaysToKeep: '{build-artifact-days-to-keep}'
151 artifactNumToKeep: '{build-artifact-num-to-keep}'
159 maven-version: 'mvn33-new'
161 name: ARCHIVE_ARTIFACTS
162 default: '{archive-artifacts}'
163 description: Artifacts to archive to the logs server.
166 - gerrit-trigger-scm:
167 credentials-id: 'jenkins-gerrit-credentials'
168 refspec: '$GERRIT_REFSPEC'
169 choosing-strategy: 'default'
172 - fdio-infra-wrappers-non-activity-timeout:
173 build-timeout: '{build-timeout}'
177 server-name: 'Primary'
179 - comment-added-contains-event:
180 comment-contains-value: 'run-report'
182 - project-compare-type: 'ANT'
183 project-pattern: '{project}'
185 - branch-compare-type: 'ANT'
186 branch-pattern: '**/{branch}'
195 maven-version: 'mvn33-new'
197 settings: 'csit-settings'
199 global-settings: 'global-settings'
200 global-settings-type: cfp
201 - provide-maven-settings:
202 settings-file: 'csit-settings'
203 global-settings-file: 'global-settings'
205 !include-raw-escape: include-raw-csit-report.sh
208 - fdio-infra-shiplogs:
209 maven-version: 'mvn33-new'
212 name: 'csit-report-merge-1901_3'
214 project-type: freestyle
215 node: '{executor-large}'
219 only-if-success: true
220 default-excludes: false
223 daysToKeep: '{build-days-to-keep}'
224 numToKeep: '{build-num-to-keep}'
225 artifactDaysToKeep: '{build-artifact-days-to-keep}'
226 artifactNumToKeep: '{build-artifact-num-to-keep}'
234 maven-version: 'mvn33-new'
236 name: ARCHIVE_ARTIFACTS
237 default: '{archive-artifacts}'
238 description: Artifacts to archive to the logs server.
241 - gerrit-trigger-scm:
242 credentials-id: 'jenkins-gerrit-credentials'
243 refspec: '$GERRIT_REFSPEC'
244 choosing-strategy: 'default'
247 - fdio-infra-wrappers-non-activity-timeout:
248 build-timeout: '{build-timeout}'
252 server-name: 'Primary'
254 - comment-added-contains-event:
255 comment-contains-value: 'run-report'
257 - project-compare-type: 'ANT'
258 project-pattern: '{project}'
260 - branch-compare-type: 'ANT'
261 branch-pattern: '**/rls1901_3'
270 maven-version: 'mvn33-new'
272 settings: 'csit-settings'
274 global-settings: 'global-settings'
275 global-settings-type: cfp
276 - provide-maven-settings:
277 settings-file: 'csit-settings'
278 global-settings-file: 'global-settings'
280 !include-raw-escape: include-raw-csit-report.sh
283 - fdio-infra-shiplogs:
284 maven-version: 'mvn33-new'
287 name: 'csit-report-merge-1904_2'
289 project-type: freestyle
290 node: '{executor-large}'
294 only-if-success: true
295 default-excludes: false
298 daysToKeep: '{build-days-to-keep}'
299 numToKeep: '{build-num-to-keep}'
300 artifactDaysToKeep: '{build-artifact-days-to-keep}'
301 artifactNumToKeep: '{build-artifact-num-to-keep}'
309 maven-version: 'mvn33-new'
311 name: ARCHIVE_ARTIFACTS
312 default: '{archive-artifacts}'
313 description: Artifacts to archive to the logs server.
316 - gerrit-trigger-scm:
317 credentials-id: 'jenkins-gerrit-credentials'
318 refspec: '$GERRIT_REFSPEC'
319 choosing-strategy: 'default'
322 - fdio-infra-wrappers-non-activity-timeout:
323 build-timeout: '{build-timeout}'
327 server-name: 'Primary'
329 - comment-added-contains-event:
330 comment-contains-value: 'run-report'
332 - project-compare-type: 'ANT'
333 project-pattern: '{project}'
335 - branch-compare-type: 'ANT'
336 branch-pattern: '**/rls1904_2'
345 maven-version: 'mvn33-new'
347 settings: 'csit-settings'
349 global-settings: 'global-settings'
350 global-settings-type: cfp
351 - provide-maven-settings:
352 settings-file: 'csit-settings'
353 global-settings-file: 'global-settings'
355 !include-raw-escape: include-raw-csit-report.sh
358 - fdio-infra-shiplogs:
359 maven-version: 'mvn33-new'
362 name: 'csit-trending-daily-master'
364 project-type: freestyle
365 node: '{executor-large}'
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'
383 - gerrit-trigger-scm:
384 credentials-id: 'jenkins-gerrit-credentials'
386 choosing-strategy: 'default'
389 - fdio-infra-wrappers-non-activity-timeout:
390 build-timeout: '{build-timeout}'
393 - timed: '0 2,14 * * *'
397 maven-version: 'mvn33-new'
399 settings: 'csit-settings'
401 global-settings: 'global-settings'
402 global-settings-type: cfp
403 - provide-maven-settings:
404 settings-file: 'csit-settings'
405 global-settings-file: 'global-settings'
407 !include-raw-escape: include-raw-csit-cpta.sh
411 # yamllint disable-line rule:line-length
412 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
415 subject: 'Failed tests as of $BUILD_TIMESTAMP'
416 # yamllint disable-line rule:line-length
418 Following tests failed in the last trending job runs, listed per testbed type.
420 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
425 - fdio-infra-shiplogs:
426 maven-version: 'mvn33-new'
432 - gerrit-info-yaml-verify
433 build-node: centos7-builder-4c-4g