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
48 name: 'csit-docs-merge-{stream}-{os}-{executor-arch}'
50 project-type: freestyle
51 node: 'builder-{os}-prod-{executor-arch}'
56 default-excludes: false
59 daysToKeep: '{build-days-to-keep}'
60 numToKeep: '{build-num-to-keep}'
61 artifactDaysToKeep: '{build-artifact-days-to-keep}'
62 artifactNumToKeep: '{build-artifact-num-to-keep}'
70 maven-version: 'mvn33-new'
72 name: ARCHIVE_ARTIFACTS
73 default: '{archive-artifacts}'
74 description: Artifacts to archive to the logs server.
78 credentials-id: 'jenkins-gerrit-credentials'
80 choosing-strategy: 'default'
83 - fdio-infra-wrappers-non-activity-timeout:
84 build-timeout: '{build-timeout}'
88 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
91 server-name: 'Primary'
93 - comment-added-contains-event:
94 comment-contains-value: 'run-docs'
96 - project-compare-type: 'ANT'
97 project-pattern: '{project}'
99 - branch-compare-type: 'ANT'
100 branch-pattern: '**/{branch}'
109 maven-version: 'mvn33-new'
111 settings: 'csit-settings'
113 global-settings: 'global-settings'
114 global-settings-type: cfp
115 - provide-maven-settings:
116 settings-file: 'csit-settings'
117 global-settings-file: 'global-settings'
120 - ../scripts/setup_executor_env.sh
123 - ../scripts/csit/docs.sh
129 name: 'csit-report-merge-{stream}-{os}-{executor-arch}'
131 project-type: freestyle
132 node: 'builder-{os}-prod-{executor-arch}'
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
207 name: 'csit-trending-daily-master-{os}-{executor-arch}'
209 project-type: freestyle
210 node: 'builder-{os}-prod-{executor-arch}'
214 daysToKeep: '{build-days-to-keep}'
215 numToKeep: '{build-num-to-keep}'
216 artifactDaysToKeep: '{build-artifact-days-to-keep}'
217 artifactNumToKeep: '{build-artifact-num-to-keep}'
225 maven-version: 'mvn33-new'
228 - gerrit-trigger-scm:
229 credentials-id: 'jenkins-gerrit-credentials'
231 choosing-strategy: 'default'
234 - fdio-infra-wrappers-non-activity-timeout:
235 build-timeout: '{build-timeout}'
238 - timed: '0 2,14 * * *'
242 maven-version: 'mvn33-new'
244 settings: 'csit-settings'
246 global-settings: 'global-settings'
247 global-settings-type: cfp
248 - provide-maven-settings:
249 settings-file: 'csit-settings'
250 global-settings-file: 'global-settings'
253 - ../scripts/setup_executor_env.sh
256 - ../scripts/csit/cpta.sh
260 # yamllint disable-line rule:line-length
261 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
264 subject: 'Failed tests as of $BUILD_TIMESTAMP'
265 # yamllint disable-line rule:line-length
267 Following tests failed in the last trending job runs, listed per testbed type.
269 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
275 # yamllint disable-line rule:line-length
276 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
279 subject: 'Regressions as of $BUILD_TIMESTAMP'
280 # yamllint disable-line rule:line-length
282 Following regressions occured in the last trending job runs, listed per testbed type.
284 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
290 # yamllint disable-line rule:line-length
291 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
294 subject: 'Progressions as of $BUILD_TIMESTAMP'
295 # yamllint disable-line rule:line-length
297 Following progressions occured in the last trending job runs, listed per testbed type.
299 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
307 name: 'csit-trending-weekly-2009-lts-{os}-{executor-arch}'
309 project-type: freestyle
310 node: 'builder-{os}-prod-{executor-arch}'
314 daysToKeep: '{build-days-to-keep}'
315 numToKeep: '{build-num-to-keep}'
316 artifactDaysToKeep: '{build-artifact-days-to-keep}'
317 artifactNumToKeep: '{build-artifact-num-to-keep}'
323 branch: 'rls2009_lts'
325 maven-version: 'mvn33-new'
328 - gerrit-trigger-scm:
329 credentials-id: 'jenkins-gerrit-credentials'
331 choosing-strategy: 'default'
334 - fdio-infra-wrappers-non-activity-timeout:
335 build-timeout: '{build-timeout}'
342 maven-version: 'mvn33-new'
344 settings: 'csit-settings'
346 global-settings: 'global-settings'
347 global-settings-type: cfp
348 - provide-maven-settings:
349 settings-file: 'csit-settings'
350 global-settings-file: 'global-settings'
353 - ../scripts/setup_executor_env.sh
356 - ../scripts/csit/cpta.sh
360 # yamllint disable-line rule:line-length
361 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
364 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
365 # yamllint disable-line rule:line-length
367 Following tests failed in the last trending job runs, listed per testbed type.
369 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
375 # yamllint disable-line rule:line-length
376 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
379 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
380 # yamllint disable-line rule:line-length
382 Following regressions occured in the last trending job runs, listed per testbed type.
384 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
390 # yamllint disable-line rule:line-length
391 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
394 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
395 # yamllint disable-line rule:line-length
397 Following progressions occured in the last trending job runs, listed per testbed type.
399 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
410 - gerrit-info-yaml-verify
411 build-node: centos7-builder-2c-2g
419 mvn-settings: csit-settings
421 sonarcloud-project-organization: '{sonarcloud_project_organization}'
422 sonarcloud-api-token: '{sonarcloud_api_token}'
423 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
425 build-node: centos7-builder-2c-2g