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'
74 credentials-id: 'jenkins-gerrit-credentials'
76 choosing-strategy: 'default'
79 - fdio-infra-wrappers-non-activity-timeout:
80 build-timeout: '{build-timeout}'
84 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
87 server-name: 'Primary'
89 - comment-added-contains-event:
90 comment-contains-value: 'run-docs'
92 - project-compare-type: 'ANT'
93 project-pattern: '{project}'
95 - branch-compare-type: 'ANT'
96 branch-pattern: '**/{branch}'
105 maven-version: 'mvn33-new'
107 settings: 'csit-settings'
109 global-settings: 'global-settings'
110 global-settings-type: cfp
111 - provide-maven-settings:
112 settings-file: 'csit-settings'
113 global-settings-file: 'global-settings'
116 - ../scripts/setup_executor_env.sh
119 - ../scripts/csit/docs.sh
125 name: 'csit-report-merge-{stream}-{os}-{executor-arch}'
127 project-type: freestyle
128 node: 'builder-{os}-prod-{executor-arch}'
132 only-if-success: true
133 default-excludes: false
136 daysToKeep: '{build-days-to-keep}'
137 numToKeep: '{build-num-to-keep}'
138 artifactDaysToKeep: '{build-artifact-days-to-keep}'
139 artifactNumToKeep: '{build-artifact-num-to-keep}'
147 maven-version: 'mvn33-new'
150 - gerrit-trigger-scm:
151 credentials-id: 'jenkins-gerrit-credentials'
152 refspec: '$GERRIT_REFSPEC'
153 choosing-strategy: 'default'
156 - fdio-infra-wrappers-non-activity-timeout:
157 build-timeout: '{build-timeout}'
161 server-name: 'Primary'
163 - comment-added-contains-event:
164 comment-contains-value: 'run-report'
166 - project-compare-type: 'ANT'
167 project-pattern: '{project}'
169 - branch-compare-type: 'ANT'
170 branch-pattern: '**/{branch}'
179 maven-version: 'mvn33-new'
181 settings: 'csit-settings'
183 global-settings: 'global-settings'
184 global-settings-type: cfp
185 - provide-maven-settings:
186 settings-file: 'csit-settings'
187 global-settings-file: 'global-settings'
190 - ../scripts/setup_executor_env.sh
193 - ../scripts/csit/report.sh
199 name: 'csit-trending-daily-master-{os}-{executor-arch}'
201 project-type: freestyle
202 node: 'builder-{os}-prod-{executor-arch}'
206 daysToKeep: '{build-days-to-keep}'
207 numToKeep: '{build-num-to-keep}'
208 artifactDaysToKeep: '{build-artifact-days-to-keep}'
209 artifactNumToKeep: '{build-artifact-num-to-keep}'
217 maven-version: 'mvn33-new'
220 - gerrit-trigger-scm:
221 credentials-id: 'jenkins-gerrit-credentials'
223 choosing-strategy: 'default'
226 - fdio-infra-wrappers-non-activity-timeout:
227 build-timeout: '{build-timeout}'
230 - timed: '0 14 * * 1,3,5'
234 maven-version: 'mvn33-new'
236 settings: 'csit-settings'
238 global-settings: 'global-settings'
239 global-settings-type: cfp
240 - provide-maven-settings:
241 settings-file: 'csit-settings'
242 global-settings-file: 'global-settings'
245 - ../scripts/setup_executor_env.sh
248 - ../scripts/csit/cpta.sh
252 # yamllint disable-line rule:line-length
253 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
256 subject: 'Failed tests as of $BUILD_TIMESTAMP'
257 # yamllint disable-line rule:line-length
259 Following tests failed in the last trending job runs, listed per testbed type.
261 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
267 # yamllint disable-line rule:line-length
268 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
271 subject: 'Regressions as of $BUILD_TIMESTAMP'
272 # yamllint disable-line rule:line-length
274 Following regressions occured in the last trending job runs, listed per testbed type.
276 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
282 # yamllint disable-line rule:line-length
283 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
286 subject: 'Progressions as of $BUILD_TIMESTAMP'
287 # yamllint disable-line rule:line-length
289 Following progressions occured in the last trending job runs, listed per testbed type.
291 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
299 name: 'csit-trending-weekly-2009-lts-{os}-{executor-arch}'
301 project-type: freestyle
302 node: 'builder-{os}-prod-{executor-arch}'
306 daysToKeep: '{build-days-to-keep}'
307 numToKeep: '{build-num-to-keep}'
308 artifactDaysToKeep: '{build-artifact-days-to-keep}'
309 artifactNumToKeep: '{build-artifact-num-to-keep}'
315 branch: 'rls2009_lts'
317 maven-version: 'mvn33-new'
320 - gerrit-trigger-scm:
321 credentials-id: 'jenkins-gerrit-credentials'
323 choosing-strategy: 'default'
326 - fdio-infra-wrappers-non-activity-timeout:
327 build-timeout: '{build-timeout}'
334 maven-version: 'mvn33-new'
336 settings: 'csit-settings'
338 global-settings: 'global-settings'
339 global-settings-type: cfp
340 - provide-maven-settings:
341 settings-file: 'csit-settings'
342 global-settings-file: 'global-settings'
345 - ../scripts/setup_executor_env.sh
348 - ../scripts/csit/cpta.sh
352 # yamllint disable-line rule:line-length
353 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
356 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
357 # yamllint disable-line rule:line-length
359 Following tests failed in the last trending job runs, listed per testbed type.
361 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
367 # yamllint disable-line rule:line-length
368 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
371 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
372 # yamllint disable-line rule:line-length
374 Following regressions occured in the last trending job runs, listed per testbed type.
376 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
382 # yamllint disable-line rule:line-length
383 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
386 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
387 # yamllint disable-line rule:line-length
389 Following progressions occured in the last trending job runs, listed per testbed type.
391 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
402 - gerrit-info-yaml-verify
403 build-node: centos7-builder-2c-2g
411 mvn-settings: csit-settings
413 sonarcloud-project-organization: '{sonarcloud_project_organization}'
414 sonarcloud-api-token: '{sonarcloud_api_token}'
415 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
417 build-node: centos7-builder-2c-2g