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
49 name: 'csit-docs-merge-{stream}'
51 project-type: freestyle
57 default-excludes: false
60 daysToKeep: '{build-days-to-keep}'
61 numToKeep: '{build-num-to-keep}'
62 artifactDaysToKeep: '{build-artifact-days-to-keep}'
63 artifactNumToKeep: '{build-artifact-num-to-keep}'
71 maven-version: 'mvn33-new'
73 name: ARCHIVE_ARTIFACTS
74 default: '{archive-artifacts}'
75 description: Artifacts to archive to the logs server.
79 credentials-id: 'jenkins-gerrit-credentials'
81 choosing-strategy: 'default'
84 - fdio-infra-wrappers-non-activity-timeout:
85 build-timeout: '{build-timeout}'
89 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
92 server-name: 'Primary'
94 - comment-added-contains-event:
95 comment-contains-value: 'run-docs'
97 - project-compare-type: 'ANT'
98 project-pattern: '{project}'
100 - branch-compare-type: 'ANT'
101 branch-pattern: '**/{branch}'
110 maven-version: 'mvn33-new'
112 settings: 'csit-settings'
114 global-settings: 'global-settings'
115 global-settings-type: cfp
116 - provide-maven-settings:
117 settings-file: 'csit-settings'
118 global-settings-file: 'global-settings'
121 - ../scripts/setup_executor_env.sh
124 - ../scripts/csit/docs.sh
127 - fdio-infra-shiplogs:
128 maven-version: 'mvn33-new'
131 name: 'csit-report-merge-{stream}'
133 project-type: freestyle
134 node: '{executor-large}'
138 only-if-success: true
139 default-excludes: false
142 daysToKeep: '{build-days-to-keep}'
143 numToKeep: '{build-num-to-keep}'
144 artifactDaysToKeep: '{build-artifact-days-to-keep}'
145 artifactNumToKeep: '{build-artifact-num-to-keep}'
153 maven-version: 'mvn33-new'
155 name: ARCHIVE_ARTIFACTS
156 default: '{archive-artifacts}'
157 description: Artifacts to archive to the logs server.
160 - gerrit-trigger-scm:
161 credentials-id: 'jenkins-gerrit-credentials'
162 refspec: '$GERRIT_REFSPEC'
163 choosing-strategy: 'default'
166 - fdio-infra-wrappers-non-activity-timeout:
167 build-timeout: '{build-timeout}'
171 server-name: 'Primary'
173 - comment-added-contains-event:
174 comment-contains-value: 'run-report'
176 - project-compare-type: 'ANT'
177 project-pattern: '{project}'
179 - branch-compare-type: 'ANT'
180 branch-pattern: '**/{branch}'
189 maven-version: 'mvn33-new'
191 settings: 'csit-settings'
193 global-settings: 'global-settings'
194 global-settings-type: cfp
195 - provide-maven-settings:
196 settings-file: 'csit-settings'
197 global-settings-file: 'global-settings'
200 - ../scripts/setup_executor_env.sh
203 - ../scripts/csit/report.sh
206 - fdio-infra-shiplogs:
207 maven-version: 'mvn33-new'
210 name: 'csit-trending-daily-master'
212 project-type: freestyle
213 node: '{executor-large}'
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'
231 - gerrit-trigger-scm:
232 credentials-id: 'jenkins-gerrit-credentials'
234 choosing-strategy: 'default'
237 - fdio-infra-wrappers-non-activity-timeout:
238 build-timeout: '{build-timeout}'
241 - timed: '0 14 * * 1,3,5'
245 maven-version: 'mvn33-new'
247 settings: 'csit-settings'
249 global-settings: 'global-settings'
250 global-settings-type: cfp
251 - provide-maven-settings:
252 settings-file: 'csit-settings'
253 global-settings-file: 'global-settings'
256 - ../scripts/setup_executor_env.sh
259 - ../scripts/csit/cpta.sh
263 # yamllint disable-line rule:line-length
264 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
267 subject: 'Failed tests as of $BUILD_TIMESTAMP'
268 # yamllint disable-line rule:line-length
270 Following tests failed in the last trending job runs, listed per testbed type.
272 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
278 # yamllint disable-line rule:line-length
279 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
282 subject: 'Regressions as of $BUILD_TIMESTAMP'
283 # yamllint disable-line rule:line-length
285 Following regressions occured in the last trending job runs, listed per testbed type.
287 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
293 # yamllint disable-line rule:line-length
294 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
297 subject: 'Progressions as of $BUILD_TIMESTAMP'
298 # yamllint disable-line rule:line-length
300 Following progressions occured in the last trending job runs, listed per testbed type.
302 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
307 - fdio-infra-shiplogs:
308 maven-version: 'mvn33-new'
311 name: 'csit-trending-weekly-2009-lts'
313 project-type: freestyle
314 node: '{executor-large}'
318 daysToKeep: '{build-days-to-keep}'
319 numToKeep: '{build-num-to-keep}'
320 artifactDaysToKeep: '{build-artifact-days-to-keep}'
321 artifactNumToKeep: '{build-artifact-num-to-keep}'
327 branch: 'rls2009_lts'
329 maven-version: 'mvn33-new'
332 - gerrit-trigger-scm:
333 credentials-id: 'jenkins-gerrit-credentials'
335 choosing-strategy: 'default'
338 - fdio-infra-wrappers-non-activity-timeout:
339 build-timeout: '{build-timeout}'
346 maven-version: 'mvn33-new'
348 settings: 'csit-settings'
350 global-settings: 'global-settings'
351 global-settings-type: cfp
352 - provide-maven-settings:
353 settings-file: 'csit-settings'
354 global-settings-file: 'global-settings'
357 - ../scripts/setup_executor_env.sh
360 - ../scripts/csit/cpta.sh
364 # yamllint disable-line rule:line-length
365 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
368 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
369 # yamllint disable-line rule:line-length
371 Following tests failed in the last trending job runs, listed per testbed type.
373 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
379 # yamllint disable-line rule:line-length
380 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
383 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
384 # yamllint disable-line rule:line-length
386 Following regressions occured in the last trending job runs, listed per testbed type.
388 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
394 # yamllint disable-line rule:line-length
395 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
398 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
399 # yamllint disable-line rule:line-length
401 Following progressions occured in the last trending job runs, listed per testbed type.
403 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
408 - fdio-infra-shiplogs:
409 maven-version: 'mvn33-new'
415 - gerrit-info-yaml-verify
416 build-node: centos7-builder-2c-2g
424 mvn-settings: csit-settings
426 sonarcloud-project-organization: '{sonarcloud_project_organization}'
427 sonarcloud-api-token: '{sonarcloud_api_token}'
428 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
430 build-node: centos7-builder-2c-2g