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-merge-daily-master-{os}-{executor-arch}'
23 - 'csit-trending-merge-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}-{os}-{executor-arch}-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}'
136 - gerrit-trigger-scm:
137 credentials-id: 'jenkins-gerrit-credentials'
139 choosing-strategy: 'default'
142 - fdio-infra-wrappers-non-activity-timeout:
143 build-timeout: '{build-timeout}'
147 server-name: 'Primary'
149 - comment-added-contains-event:
150 comment-contains-value: 'run-report'
152 - project-compare-type: 'ANT'
153 project-pattern: '{project}'
155 - branch-compare-type: 'ANT'
156 branch-pattern: '**/{branch}'
166 - ../scripts/setup_executor_env.sh
169 - ../scripts/csit/report.sh
172 - fdio-infra-publish-docs
176 name: 'csit-trending-merge-daily-master-{os}-{executor-arch}'
178 project-type: freestyle
179 node: 'builder-{os}-prod-{executor-arch}'
183 daysToKeep: '{build-days-to-keep}'
184 numToKeep: '{build-num-to-keep}'
185 artifactDaysToKeep: '{build-artifact-days-to-keep}'
186 artifactNumToKeep: '{build-artifact-num-to-keep}'
195 - gerrit-trigger-scm:
196 credentials-id: 'jenkins-gerrit-credentials'
198 choosing-strategy: 'default'
201 - fdio-infra-wrappers-non-activity-timeout:
202 build-timeout: '{build-timeout}'
205 - timed: '0 2,14 * * *'
210 - ../scripts/setup_executor_env.sh
213 - ../scripts/csit/trending.sh
217 # yamllint disable-line rule:line-length
218 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
221 subject: 'Failed tests as of $BUILD_TIMESTAMP'
222 # yamllint disable-line rule:line-length
224 Following tests failed in the last trending job runs, listed per testbed type.
226 ${{FILE,path="resources/tools/presentation/_build/_static/vpp/trending-failed-tests.txt"}}
232 # yamllint disable-line rule:line-length
233 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
236 subject: 'Regressions as of $BUILD_TIMESTAMP'
237 # yamllint disable-line rule:line-length
239 Following regressions occured in the last trending job runs, listed per testbed type.
241 ${{FILE,path="resources/tools/presentation/_build/_static/vpp/trending-regressions.txt"}}
247 # yamllint disable-line rule:line-length
248 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
251 subject: 'Progressions as of $BUILD_TIMESTAMP'
252 # yamllint disable-line rule:line-length
254 Following progressions occured in the last trending job runs, listed per testbed type.
256 ${{FILE,path="resources/tools/presentation/_build/_static/vpp/trending-progressions.txt"}}
261 - fdio-infra-publish-docs
265 name: 'csit-trending-merge-weekly-2009-lts-{os}-{executor-arch}'
267 project-type: freestyle
268 node: 'builder-{os}-prod-{executor-arch}'
272 daysToKeep: '{build-days-to-keep}'
273 numToKeep: '{build-num-to-keep}'
274 artifactDaysToKeep: '{build-artifact-days-to-keep}'
275 artifactNumToKeep: '{build-artifact-num-to-keep}'
281 branch: 'rls2009_lts'
284 - gerrit-trigger-scm:
285 credentials-id: 'jenkins-gerrit-credentials'
287 choosing-strategy: 'default'
290 - fdio-infra-wrappers-non-activity-timeout:
291 build-timeout: '{build-timeout}'
299 - ../scripts/setup_executor_env.sh
302 - ../scripts/csit/trending.sh
306 # yamllint disable-line rule:line-length
307 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
310 subject: '2009 LTS: Failed tests as of $BUILD_TIMESTAMP'
311 # yamllint disable-line rule:line-length
313 Following tests failed in the last trending job runs, listed per testbed type.
315 ${{FILE,path="resources/tools/presentation/_build/_static/vpp/trending-failed-tests.txt"}}
321 # yamllint disable-line rule:line-length
322 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
325 subject: '2009 LTS: Regressions as of $BUILD_TIMESTAMP'
326 # yamllint disable-line rule:line-length
328 Following regressions occured in the last trending job runs, listed per testbed type.
330 ${{FILE,path="path="resources/tools/presentation/_build/_static/vpp/trending-regressions.txt"}}
336 # yamllint disable-line rule:line-length
337 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
340 subject: '2009 LTS: Progressions as of $BUILD_TIMESTAMP'
341 # yamllint disable-line rule:line-length
343 Following progressions occured in the last trending job runs, listed per testbed type.
345 ${{FILE,path="path="resources/tools/presentation/_build/_static/vpp/trending-progressions.txt"}}
350 - fdio-infra-publish-docs
358 - gerrit-info-yaml-verify
359 build-node: centos7-builder-2c-2g
367 mvn-settings: csit-settings
369 sonarcloud-project-organization: '{sonarcloud_project_organization}'
370 sonarcloud-api-token: '{sonarcloud_api_token}'
371 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
373 build-node: centos7-builder-2c-2g