1 # Copyright (c) 2020 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}':
26 - 'csit-report-merge-{stream}'
27 - 'csit-trending-daily-master'
31 executor: 'ubuntu1804-us'
32 executor-large: 'ubuntu1804-l'
33 build-artifact-num-to-keep: 10
51 name: 'csit-docs-merge-{stream}'
53 project-type: freestyle
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/csit/docs.sh
126 - fdio-infra-shiplogs:
127 maven-version: 'mvn33-new'
130 name: 'csit-report-merge-{stream}'
132 project-type: freestyle
133 node: '{executor-large}'
137 only-if-success: true
138 default-excludes: false
141 daysToKeep: '{build-days-to-keep}'
142 numToKeep: '{build-num-to-keep}'
143 artifactDaysToKeep: '{build-artifact-days-to-keep}'
144 artifactNumToKeep: '{build-artifact-num-to-keep}'
152 maven-version: 'mvn33-new'
154 name: ARCHIVE_ARTIFACTS
155 default: '{archive-artifacts}'
156 description: Artifacts to archive to the logs server.
159 - gerrit-trigger-scm:
160 credentials-id: 'jenkins-gerrit-credentials'
161 refspec: '$GERRIT_REFSPEC'
162 choosing-strategy: 'default'
165 - fdio-infra-wrappers-non-activity-timeout:
166 build-timeout: '{build-timeout}'
170 server-name: 'Primary'
172 - comment-added-contains-event:
173 comment-contains-value: 'run-report'
175 - project-compare-type: 'ANT'
176 project-pattern: '{project}'
178 - branch-compare-type: 'ANT'
179 branch-pattern: '**/{branch}'
188 maven-version: 'mvn33-new'
190 settings: 'csit-settings'
192 global-settings: 'global-settings'
193 global-settings-type: cfp
194 - provide-maven-settings:
195 settings-file: 'csit-settings'
196 global-settings-file: 'global-settings'
199 - ../scripts/csit/report.sh
202 - fdio-infra-shiplogs:
203 maven-version: 'mvn33-new'
206 name: 'csit-trending-daily-master'
208 project-type: freestyle
209 node: '{executor-large}'
213 daysToKeep: '{build-days-to-keep}'
214 numToKeep: '{build-num-to-keep}'
215 artifactDaysToKeep: '{build-artifact-days-to-keep}'
216 artifactNumToKeep: '{build-artifact-num-to-keep}'
224 maven-version: 'mvn33-new'
227 - gerrit-trigger-scm:
228 credentials-id: 'jenkins-gerrit-credentials'
230 choosing-strategy: 'default'
233 - fdio-infra-wrappers-non-activity-timeout:
234 build-timeout: '{build-timeout}'
237 - timed: '0 2,14 * * *'
241 maven-version: 'mvn33-new'
243 settings: 'csit-settings'
245 global-settings: 'global-settings'
246 global-settings-type: cfp
247 - provide-maven-settings:
248 settings-file: 'csit-settings'
249 global-settings-file: 'global-settings'
252 - ../scripts/csit/cpta.sh
256 # yamllint disable-line rule:line-length
257 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
260 subject: 'Failed tests as of $BUILD_TIMESTAMP'
261 # yamllint disable-line rule:line-length
263 Following tests failed in the last trending job runs, listed per testbed type.
265 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
271 # yamllint disable-line rule:line-length
272 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
275 subject: 'Regressions as of $BUILD_TIMESTAMP'
276 # yamllint disable-line rule:line-length
278 Following regressions occured in the last trending job runs, listed per testbed type.
280 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
286 # yamllint disable-line rule:line-length
287 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
290 subject: 'Progressions as of $BUILD_TIMESTAMP'
291 # yamllint disable-line rule:line-length
293 Following progressions occured in the last trending job runs, listed per testbed type.
295 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
300 - fdio-infra-shiplogs:
301 maven-version: 'mvn33-new'
307 - gerrit-info-yaml-verify
308 build-node: centos7-builder-4c-4g