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}'
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}'
106 - ../scripts/setup_executor_env.sh
109 - ../scripts/csit/docs.sh
112 - fdio-infra-publish-docs
116 name: 'csit-report-merge-{stream}-{os}-{executor-arch}'
118 project-type: freestyle
119 node: 'builder-{os}-prod-{executor-arch}'
124 daysToKeep: '{build-days-to-keep}'
125 numToKeep: '{build-num-to-keep}'
126 artifactDaysToKeep: '{build-artifact-days-to-keep}'
127 artifactNumToKeep: '{build-artifact-num-to-keep}'
134 - gerrit-refspec-parameter
137 - gerrit-trigger-scm:
138 credentials-id: 'jenkins-gerrit-credentials'
139 refspec: '$GERRIT_REFSPEC'
140 choosing-strategy: 'gerrit'
143 - fdio-infra-wrappers-non-activity-timeout:
144 build-timeout: '{build-timeout}'
148 server-name: 'Primary'
150 - comment-added-contains-event:
151 comment-contains-value: 'run-report'
153 - project-compare-type: 'ANT'
154 project-pattern: '{project}'
156 - branch-compare-type: 'ANT'
157 branch-pattern: '**/{branch}'
167 - ../scripts/setup_executor_env.sh
170 - ../scripts/csit/report.sh
173 - fdio-infra-publish-docs
177 name: 'csit-trending-daily-master-{os}-{executor-arch}'
179 project-type: freestyle
180 node: 'builder-{os}-prod-{executor-arch}'
184 daysToKeep: '{build-days-to-keep}'
185 numToKeep: '{build-num-to-keep}'
186 artifactDaysToKeep: '{build-artifact-days-to-keep}'
187 artifactNumToKeep: '{build-artifact-num-to-keep}'
196 - gerrit-trigger-scm:
197 credentials-id: 'jenkins-gerrit-credentials'
199 choosing-strategy: 'default'
202 - fdio-infra-wrappers-non-activity-timeout:
203 build-timeout: '{build-timeout}'
206 - timed: '0 2,14 * * *'
211 - ../scripts/setup_executor_env.sh
214 - ../scripts/csit/trending.sh
218 # yamllint disable-line rule:line-length
219 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
222 subject: 'Failed tests as of $BUILD_TIMESTAMP'
223 # yamllint disable-line rule:line-length
225 Following tests failed in the last trending job runs, listed per testbed type.
227 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
233 # yamllint disable-line rule:line-length
234 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
237 subject: 'Regressions as of $BUILD_TIMESTAMP'
238 # yamllint disable-line rule:line-length
240 Following regressions occured in the last trending job runs, listed per testbed type.
242 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
248 # yamllint disable-line rule:line-length
249 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
252 subject: 'Progressions as of $BUILD_TIMESTAMP'
253 # yamllint disable-line rule:line-length
255 Following progressions occured in the last trending job runs, listed per testbed type.
257 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
262 - fdio-infra-publish-docs
266 name: 'csit-trending-weekly-2009-lts-{os}-{executor-arch}'
268 project-type: freestyle
269 node: 'builder-{os}-prod-{executor-arch}'
273 daysToKeep: '{build-days-to-keep}'
274 numToKeep: '{build-num-to-keep}'
275 artifactDaysToKeep: '{build-artifact-days-to-keep}'
276 artifactNumToKeep: '{build-artifact-num-to-keep}'
282 branch: 'rls2009_lts'
285 - gerrit-trigger-scm:
286 credentials-id: 'jenkins-gerrit-credentials'
288 choosing-strategy: 'default'
291 - fdio-infra-wrappers-non-activity-timeout:
292 build-timeout: '{build-timeout}'
300 - ../scripts/setup_executor_env.sh
303 - ../scripts/csit/trending.sh
307 # yamllint disable-line rule:line-length
308 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
311 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
312 # yamllint disable-line rule:line-length
314 Following tests failed in the last trending job runs, listed per testbed type.
316 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
322 # yamllint disable-line rule:line-length
323 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
326 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
327 # yamllint disable-line rule:line-length
329 Following regressions occured in the last trending job runs, listed per testbed type.
331 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
337 # yamllint disable-line rule:line-length
338 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
341 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
342 # yamllint disable-line rule:line-length
344 Following progressions occured in the last trending job runs, listed per testbed type.
346 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
351 - fdio-infra-publish-docs
359 - gerrit-info-yaml-verify
360 build-node: centos7-builder-2c-2g
368 mvn-settings: csit-settings
370 sonarcloud-project-organization: '{sonarcloud_project_organization}'
371 sonarcloud-api-token: '{sonarcloud_api_token}'
372 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
374 build-node: centos7-builder-2c-2g