1 # Copyright (c) 2020 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}'
21 - 'csit-report-merge-{stream}'
22 - 'csit-trending-daily-master'
23 - 'csit-trending-weekly-2009-lts'
27 executor: 'ubuntu1804-us'
28 executor-large: 'ubuntu1804-l'
29 build-artifact-num-to-keep: 10
47 name: 'csit-docs-merge-{stream}'
49 project-type: freestyle
55 default-excludes: false
58 daysToKeep: '{build-days-to-keep}'
59 numToKeep: '{build-num-to-keep}'
60 artifactDaysToKeep: '{build-artifact-days-to-keep}'
61 artifactNumToKeep: '{build-artifact-num-to-keep}'
69 maven-version: 'mvn33-new'
71 name: ARCHIVE_ARTIFACTS
72 default: '{archive-artifacts}'
73 description: Artifacts to archive to the logs server.
77 credentials-id: 'jenkins-gerrit-credentials'
79 choosing-strategy: 'default'
82 - fdio-infra-wrappers-non-activity-timeout:
83 build-timeout: '{build-timeout}'
87 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
90 server-name: 'Primary'
92 - comment-added-contains-event:
93 comment-contains-value: 'run-docs'
95 - project-compare-type: 'ANT'
96 project-pattern: '{project}'
98 - branch-compare-type: 'ANT'
99 branch-pattern: '**/{branch}'
108 maven-version: 'mvn33-new'
110 settings: 'csit-settings'
112 global-settings: 'global-settings'
113 global-settings-type: cfp
114 - provide-maven-settings:
115 settings-file: 'csit-settings'
116 global-settings-file: 'global-settings'
119 - ../scripts/setup_executor_env.sh
122 - ../scripts/csit/docs.sh
125 - fdio-infra-shiplogs:
126 maven-version: 'mvn33-new'
129 name: 'csit-report-merge-{stream}'
131 project-type: freestyle
132 node: '{executor-large}'
136 only-if-success: true
137 default-excludes: false
140 daysToKeep: '{build-days-to-keep}'
141 numToKeep: '{build-num-to-keep}'
142 artifactDaysToKeep: '{build-artifact-days-to-keep}'
143 artifactNumToKeep: '{build-artifact-num-to-keep}'
151 maven-version: 'mvn33-new'
153 name: ARCHIVE_ARTIFACTS
154 default: '{archive-artifacts}'
155 description: Artifacts to archive to the logs server.
158 - gerrit-trigger-scm:
159 credentials-id: 'jenkins-gerrit-credentials'
160 refspec: '$GERRIT_REFSPEC'
161 choosing-strategy: 'default'
164 - fdio-infra-wrappers-non-activity-timeout:
165 build-timeout: '{build-timeout}'
169 server-name: 'Primary'
171 - comment-added-contains-event:
172 comment-contains-value: 'run-report'
174 - project-compare-type: 'ANT'
175 project-pattern: '{project}'
177 - branch-compare-type: 'ANT'
178 branch-pattern: '**/{branch}'
187 maven-version: 'mvn33-new'
189 settings: 'csit-settings'
191 global-settings: 'global-settings'
192 global-settings-type: cfp
193 - provide-maven-settings:
194 settings-file: 'csit-settings'
195 global-settings-file: 'global-settings'
198 - ../scripts/setup_executor_env.sh
201 - ../scripts/csit/report.sh
204 - fdio-infra-shiplogs:
205 maven-version: 'mvn33-new'
208 name: 'csit-trending-daily-master'
210 project-type: freestyle
211 node: '{executor-large}'
215 daysToKeep: '{build-days-to-keep}'
216 numToKeep: '{build-num-to-keep}'
217 artifactDaysToKeep: '{build-artifact-days-to-keep}'
218 artifactNumToKeep: '{build-artifact-num-to-keep}'
226 maven-version: 'mvn33-new'
229 - gerrit-trigger-scm:
230 credentials-id: 'jenkins-gerrit-credentials'
232 choosing-strategy: 'default'
235 - fdio-infra-wrappers-non-activity-timeout:
236 build-timeout: '{build-timeout}'
239 - timed: '0 2,14 * * *'
243 maven-version: 'mvn33-new'
245 settings: 'csit-settings'
247 global-settings: 'global-settings'
248 global-settings-type: cfp
249 - provide-maven-settings:
250 settings-file: 'csit-settings'
251 global-settings-file: 'global-settings'
254 - ../scripts/setup_executor_env.sh
257 - ../scripts/csit/cpta.sh
261 # yamllint disable-line rule:line-length
262 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
265 subject: 'Failed tests as of $BUILD_TIMESTAMP'
266 # yamllint disable-line rule:line-length
268 Following tests failed in the last trending job runs, listed per testbed type.
270 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
276 # yamllint disable-line rule:line-length
277 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
280 subject: 'Regressions as of $BUILD_TIMESTAMP'
281 # yamllint disable-line rule:line-length
283 Following regressions occured in the last trending job runs, listed per testbed type.
285 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
291 # yamllint disable-line rule:line-length
292 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
295 subject: 'Progressions as of $BUILD_TIMESTAMP'
296 # yamllint disable-line rule:line-length
298 Following progressions occured in the last trending job runs, listed per testbed type.
300 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
305 - fdio-infra-shiplogs:
306 maven-version: 'mvn33-new'
309 name: 'csit-trending-weekly-2009-lts'
311 project-type: freestyle
312 node: '{executor-large}'
316 daysToKeep: '{build-days-to-keep}'
317 numToKeep: '{build-num-to-keep}'
318 artifactDaysToKeep: '{build-artifact-days-to-keep}'
319 artifactNumToKeep: '{build-artifact-num-to-keep}'
325 branch: 'rls2009_lts'
327 maven-version: 'mvn33-new'
330 - gerrit-trigger-scm:
331 credentials-id: 'jenkins-gerrit-credentials'
333 choosing-strategy: 'default'
336 - fdio-infra-wrappers-non-activity-timeout:
337 build-timeout: '{build-timeout}'
344 maven-version: 'mvn33-new'
346 settings: 'csit-settings'
348 global-settings: 'global-settings'
349 global-settings-type: cfp
350 - provide-maven-settings:
351 settings-file: 'csit-settings'
352 global-settings-file: 'global-settings'
355 - ../scripts/setup_executor_env.sh
358 - ../scripts/csit/cpta.sh
362 # yamllint disable-line rule:line-length
363 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
366 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
367 # yamllint disable-line rule:line-length
369 Following tests failed in the last trending job runs, listed per testbed type.
371 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
377 # yamllint disable-line rule:line-length
378 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
381 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
382 # yamllint disable-line rule:line-length
384 Following regressions occured in the last trending job runs, listed per testbed type.
386 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
392 # yamllint disable-line rule:line-length
393 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
396 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
397 # yamllint disable-line rule:line-length
399 Following progressions occured in the last trending job runs, listed per testbed type.
401 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
406 - fdio-infra-shiplogs:
407 maven-version: 'mvn33-new'
413 - gerrit-info-yaml-verify
414 build-node: centos7-builder-2c-2g
422 mvn-settings: csit-settings
424 sonarcloud-project-organization: '{sonarcloud_project_organization}'
425 sonarcloud-api-token: '{sonarcloud_api_token}'
426 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
428 build-node: centos7-builder-2c-2g