1 # Copyright (c) 2021 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}-{os}-{executor-arch}'
21 - 'csit-report-merge-{stream}-{os}-{executor-arch}'
22 - 'csit-trending-daily-master-{os}-{executor-arch}'
23 - 'csit-trending-weekly-2009-lts-{os}-{executor-arch}'
29 executor-arch: 'x86_64'
30 build-artifact-num-to-keep: 10
50 name: 'csit-docs-merge-{stream}-{os}-{executor-arch}'
52 project-type: freestyle
53 node: 'builder-{os}-prod-{executor-arch}'
58 default-excludes: false
61 daysToKeep: '{build-days-to-keep}'
62 numToKeep: '{build-num-to-keep}'
63 artifactDaysToKeep: '{build-artifact-days-to-keep}'
64 artifactNumToKeep: '{build-artifact-num-to-keep}'
72 maven-version: 'mvn33-new'
74 name: ARCHIVE_ARTIFACTS
75 default: '{archive-artifacts}'
76 description: Artifacts to archive to the logs server.
80 credentials-id: 'jenkins-gerrit-credentials'
82 choosing-strategy: 'default'
85 - fdio-infra-wrappers-non-activity-timeout:
86 build-timeout: '{build-timeout}'
90 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
93 server-name: 'Primary'
95 - comment-added-contains-event:
96 comment-contains-value: 'run-docs'
98 - project-compare-type: 'ANT'
99 project-pattern: '{project}'
101 - branch-compare-type: 'ANT'
102 branch-pattern: '**/{branch}'
111 maven-version: 'mvn33-new'
113 settings: 'csit-settings'
115 global-settings: 'global-settings'
116 global-settings-type: cfp
117 - provide-maven-settings:
118 settings-file: 'csit-settings'
119 global-settings-file: 'global-settings'
122 - ../scripts/setup_executor_env.sh
125 - ../scripts/csit/docs.sh
128 - fdio-infra-shiplogs:
129 maven-version: 'mvn33-new'
132 name: 'csit-report-merge-{stream}-{os}-{executor-arch}'
134 project-type: freestyle
135 node: 'builder-{os}-prod-{executor-arch}'
139 only-if-success: true
140 default-excludes: false
143 daysToKeep: '{build-days-to-keep}'
144 numToKeep: '{build-num-to-keep}'
145 artifactDaysToKeep: '{build-artifact-days-to-keep}'
146 artifactNumToKeep: '{build-artifact-num-to-keep}'
154 maven-version: 'mvn33-new'
156 name: ARCHIVE_ARTIFACTS
157 default: '{archive-artifacts}'
158 description: Artifacts to archive to the logs server.
161 - gerrit-trigger-scm:
162 credentials-id: 'jenkins-gerrit-credentials'
163 refspec: '$GERRIT_REFSPEC'
164 choosing-strategy: 'default'
167 - fdio-infra-wrappers-non-activity-timeout:
168 build-timeout: '{build-timeout}'
172 server-name: 'Primary'
174 - comment-added-contains-event:
175 comment-contains-value: 'run-report'
177 - project-compare-type: 'ANT'
178 project-pattern: '{project}'
180 - branch-compare-type: 'ANT'
181 branch-pattern: '**/{branch}'
190 maven-version: 'mvn33-new'
192 settings: 'csit-settings'
194 global-settings: 'global-settings'
195 global-settings-type: cfp
196 - provide-maven-settings:
197 settings-file: 'csit-settings'
198 global-settings-file: 'global-settings'
201 - ../scripts/setup_executor_env.sh
204 - ../scripts/csit/report.sh
207 - fdio-infra-shiplogs:
208 maven-version: 'mvn33-new'
211 name: 'csit-trending-daily-master-{os}-{executor-arch}'
213 project-type: freestyle
214 node: 'builder-{os}-prod-{executor-arch}'
218 daysToKeep: '{build-days-to-keep}'
219 numToKeep: '{build-num-to-keep}'
220 artifactDaysToKeep: '{build-artifact-days-to-keep}'
221 artifactNumToKeep: '{build-artifact-num-to-keep}'
229 maven-version: 'mvn33-new'
232 - gerrit-trigger-scm:
233 credentials-id: 'jenkins-gerrit-credentials'
235 choosing-strategy: 'default'
238 - fdio-infra-wrappers-non-activity-timeout:
239 build-timeout: '{build-timeout}'
242 - timed: '0 2,14 * * *'
246 maven-version: 'mvn33-new'
248 settings: 'csit-settings'
250 global-settings: 'global-settings'
251 global-settings-type: cfp
252 - provide-maven-settings:
253 settings-file: 'csit-settings'
254 global-settings-file: 'global-settings'
257 - ../scripts/setup_executor_env.sh
260 - ../scripts/csit/cpta.sh
264 # yamllint disable-line rule:line-length
265 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
268 subject: 'Failed tests as of $BUILD_TIMESTAMP'
269 # yamllint disable-line rule:line-length
271 Following tests failed in the last trending job runs, listed per testbed type.
273 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
279 # yamllint disable-line rule:line-length
280 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
283 subject: 'Regressions as of $BUILD_TIMESTAMP'
284 # yamllint disable-line rule:line-length
286 Following regressions occured in the last trending job runs, listed per testbed type.
288 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
294 # yamllint disable-line rule:line-length
295 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
298 subject: 'Progressions as of $BUILD_TIMESTAMP'
299 # yamllint disable-line rule:line-length
301 Following progressions occured in the last trending job runs, listed per testbed type.
303 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
308 - fdio-infra-shiplogs:
309 maven-version: 'mvn33-new'
312 name: 'csit-trending-weekly-2009-lts-{os}-{executor-arch}'
314 project-type: freestyle
315 node: 'builder-{os}-prod-{executor-arch}'
319 daysToKeep: '{build-days-to-keep}'
320 numToKeep: '{build-num-to-keep}'
321 artifactDaysToKeep: '{build-artifact-days-to-keep}'
322 artifactNumToKeep: '{build-artifact-num-to-keep}'
328 branch: 'rls2009_lts'
330 maven-version: 'mvn33-new'
333 - gerrit-trigger-scm:
334 credentials-id: 'jenkins-gerrit-credentials'
336 choosing-strategy: 'default'
339 - fdio-infra-wrappers-non-activity-timeout:
340 build-timeout: '{build-timeout}'
347 maven-version: 'mvn33-new'
349 settings: 'csit-settings'
351 global-settings: 'global-settings'
352 global-settings-type: cfp
353 - provide-maven-settings:
354 settings-file: 'csit-settings'
355 global-settings-file: 'global-settings'
358 - ../scripts/setup_executor_env.sh
361 - ../scripts/csit/cpta.sh
365 # yamllint disable-line rule:line-length
366 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
369 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
370 # yamllint disable-line rule:line-length
372 Following tests failed in the last trending job runs, listed per testbed type.
374 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
380 # yamllint disable-line rule:line-length
381 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
384 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
385 # yamllint disable-line rule:line-length
387 Following regressions occured in the last trending job runs, listed per testbed type.
389 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
395 # yamllint disable-line rule:line-length
396 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
399 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
400 # yamllint disable-line rule:line-length
402 Following progressions occured in the last trending job runs, listed per testbed type.
404 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
409 - fdio-infra-shiplogs:
410 maven-version: 'mvn33-new'
416 - gerrit-info-yaml-verify
417 build-node: centos7-builder-2c-2g
425 mvn-settings: csit-settings
427 sonarcloud-project-organization: '{sonarcloud_project_organization}'
428 sonarcloud-api-token: '{sonarcloud_api_token}'
429 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
431 build-node: centos7-builder-2c-2g