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}'
22 - 'csit-trending-daily-master'
23 - 'csit-trending-weekly-2009-lts'
29 executor-arch: 'x86_64'
30 executor-large: 'ubuntu1804-l'
31 build-artifact-num-to-keep: 10
51 name: 'csit-docs-merge-{stream}-{os}-{executor-arch}'
53 project-type: freestyle
54 node: 'builder-{os}-prod-{executor-arch}'
59 default-excludes: false
62 daysToKeep: '{build-days-to-keep}'
63 numToKeep: '{build-num-to-keep}'
64 artifactDaysToKeep: '{build-artifact-days-to-keep}'
65 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 maven-version: 'mvn33-new'
75 name: ARCHIVE_ARTIFACTS
76 default: '{archive-artifacts}'
77 description: Artifacts to archive to the logs server.
81 credentials-id: 'jenkins-gerrit-credentials'
83 choosing-strategy: 'default'
86 - fdio-infra-wrappers-non-activity-timeout:
87 build-timeout: '{build-timeout}'
91 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
94 server-name: 'Primary'
96 - comment-added-contains-event:
97 comment-contains-value: 'run-docs'
99 - project-compare-type: 'ANT'
100 project-pattern: '{project}'
102 - branch-compare-type: 'ANT'
103 branch-pattern: '**/{branch}'
112 maven-version: 'mvn33-new'
114 settings: 'csit-settings'
116 global-settings: 'global-settings'
117 global-settings-type: cfp
118 - provide-maven-settings:
119 settings-file: 'csit-settings'
120 global-settings-file: 'global-settings'
123 - ../scripts/setup_executor_env.sh
126 - ../scripts/csit/docs.sh
129 - fdio-infra-shiplogs:
130 maven-version: 'mvn33-new'
133 name: 'csit-report-merge-{stream}'
135 project-type: freestyle
136 node: '{executor-large}'
140 only-if-success: true
141 default-excludes: false
144 daysToKeep: '{build-days-to-keep}'
145 numToKeep: '{build-num-to-keep}'
146 artifactDaysToKeep: '{build-artifact-days-to-keep}'
147 artifactNumToKeep: '{build-artifact-num-to-keep}'
155 maven-version: 'mvn33-new'
157 name: ARCHIVE_ARTIFACTS
158 default: '{archive-artifacts}'
159 description: Artifacts to archive to the logs server.
162 - gerrit-trigger-scm:
163 credentials-id: 'jenkins-gerrit-credentials'
164 refspec: '$GERRIT_REFSPEC'
165 choosing-strategy: 'default'
168 - fdio-infra-wrappers-non-activity-timeout:
169 build-timeout: '{build-timeout}'
173 server-name: 'Primary'
175 - comment-added-contains-event:
176 comment-contains-value: 'run-report'
178 - project-compare-type: 'ANT'
179 project-pattern: '{project}'
181 - branch-compare-type: 'ANT'
182 branch-pattern: '**/{branch}'
191 maven-version: 'mvn33-new'
193 settings: 'csit-settings'
195 global-settings: 'global-settings'
196 global-settings-type: cfp
197 - provide-maven-settings:
198 settings-file: 'csit-settings'
199 global-settings-file: 'global-settings'
202 - ../scripts/setup_executor_env.sh
205 - ../scripts/csit/report.sh
208 - fdio-infra-shiplogs:
209 maven-version: 'mvn33-new'
212 name: 'csit-trending-daily-master'
214 project-type: freestyle
215 node: '{executor-large}'
219 daysToKeep: '{build-days-to-keep}'
220 numToKeep: '{build-num-to-keep}'
221 artifactDaysToKeep: '{build-artifact-days-to-keep}'
222 artifactNumToKeep: '{build-artifact-num-to-keep}'
230 maven-version: 'mvn33-new'
233 - gerrit-trigger-scm:
234 credentials-id: 'jenkins-gerrit-credentials'
236 choosing-strategy: 'default'
239 - fdio-infra-wrappers-non-activity-timeout:
240 build-timeout: '{build-timeout}'
243 - timed: '0 2,14 * * *'
247 maven-version: 'mvn33-new'
249 settings: 'csit-settings'
251 global-settings: 'global-settings'
252 global-settings-type: cfp
253 - provide-maven-settings:
254 settings-file: 'csit-settings'
255 global-settings-file: 'global-settings'
258 - ../scripts/setup_executor_env.sh
261 - ../scripts/csit/cpta.sh
265 # yamllint disable-line rule:line-length
266 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
269 subject: 'Failed tests as of $BUILD_TIMESTAMP'
270 # yamllint disable-line rule:line-length
272 Following tests failed in the last trending job runs, listed per testbed type.
274 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
280 # yamllint disable-line rule:line-length
281 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
284 subject: 'Regressions as of $BUILD_TIMESTAMP'
285 # yamllint disable-line rule:line-length
287 Following regressions occured in the last trending job runs, listed per testbed type.
289 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
295 # yamllint disable-line rule:line-length
296 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
299 subject: 'Progressions as of $BUILD_TIMESTAMP'
300 # yamllint disable-line rule:line-length
302 Following progressions occured in the last trending job runs, listed per testbed type.
304 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
309 - fdio-infra-shiplogs:
310 maven-version: 'mvn33-new'
313 name: 'csit-trending-weekly-2009-lts'
315 project-type: freestyle
316 node: '{executor-large}'
320 daysToKeep: '{build-days-to-keep}'
321 numToKeep: '{build-num-to-keep}'
322 artifactDaysToKeep: '{build-artifact-days-to-keep}'
323 artifactNumToKeep: '{build-artifact-num-to-keep}'
329 branch: 'rls2009_lts'
331 maven-version: 'mvn33-new'
334 - gerrit-trigger-scm:
335 credentials-id: 'jenkins-gerrit-credentials'
337 choosing-strategy: 'default'
340 - fdio-infra-wrappers-non-activity-timeout:
341 build-timeout: '{build-timeout}'
348 maven-version: 'mvn33-new'
350 settings: 'csit-settings'
352 global-settings: 'global-settings'
353 global-settings-type: cfp
354 - provide-maven-settings:
355 settings-file: 'csit-settings'
356 global-settings-file: 'global-settings'
359 - ../scripts/setup_executor_env.sh
362 - ../scripts/csit/cpta.sh
366 # yamllint disable-line rule:line-length
367 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
370 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
371 # yamllint disable-line rule:line-length
373 Following tests failed in the last trending job runs, listed per testbed type.
375 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
381 # yamllint disable-line rule:line-length
382 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
385 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
386 # yamllint disable-line rule:line-length
388 Following regressions occured in the last trending job runs, listed per testbed type.
390 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
396 # yamllint disable-line rule:line-length
397 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
400 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
401 # yamllint disable-line rule:line-length
403 Following progressions occured in the last trending job runs, listed per testbed type.
405 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
410 - fdio-infra-shiplogs:
411 maven-version: 'mvn33-new'
417 - gerrit-info-yaml-verify
418 build-node: centos7-builder-2c-2g
426 mvn-settings: csit-settings
428 sonarcloud-project-organization: '{sonarcloud_project_organization}'
429 sonarcloud-api-token: '{sonarcloud_api_token}'
430 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
432 build-node: centos7-builder-2c-2g