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_timed}'
21 - 'csit-report-merge-{stream}'
22 - 'csit-trending-daily-master'
26 executor: 'ubuntu1804-us'
27 executor-large: 'ubuntu1804-l'
28 build-artifact-num-to-keep: 10
32 executor: 'ubuntu1804-us'
36 executor: 'ubuntu1804-us'
39 executor: 'ubuntu1804-us'
52 name: 'csit-docs-merge-{stream_timed}'
54 project-type: freestyle
60 default-excludes: false
63 daysToKeep: '{build-days-to-keep}'
64 numToKeep: '{build-num-to-keep}'
65 artifactDaysToKeep: '{build-artifact-days-to-keep}'
66 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 maven-version: 'mvn33-new'
76 name: ARCHIVE_ARTIFACTS
77 default: '{archive-artifacts}'
78 description: Artifacts to archive to the logs server.
82 credentials-id: 'jenkins-gerrit-credentials'
84 choosing-strategy: 'default'
87 - fdio-infra-wrappers-non-activity-timeout:
88 build-timeout: '{build-timeout}'
92 jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
95 server-name: 'Primary'
97 - comment-added-contains-event:
98 comment-contains-value: 'run-docs'
100 - project-compare-type: 'ANT'
101 project-pattern: '{project}'
103 - branch-compare-type: 'ANT'
104 branch-pattern: '**/{branch}'
113 maven-version: 'mvn33-new'
115 settings: 'csit-settings'
117 global-settings: 'global-settings'
118 global-settings-type: cfp
119 - provide-maven-settings:
120 settings-file: 'csit-settings'
121 global-settings-file: 'global-settings'
124 - ../scripts/csit/docs.sh
127 - fdio-infra-shiplogs:
128 maven-version: 'mvn33-new'
131 name: 'csit-report-merge-{stream}'
133 project-type: freestyle
134 node: '{executor-large}'
138 only-if-success: true
139 default-excludes: false
142 daysToKeep: '{build-days-to-keep}'
143 numToKeep: '{build-num-to-keep}'
144 artifactDaysToKeep: '{build-artifact-days-to-keep}'
145 artifactNumToKeep: '{build-artifact-num-to-keep}'
153 maven-version: 'mvn33-new'
155 name: ARCHIVE_ARTIFACTS
156 default: '{archive-artifacts}'
157 description: Artifacts to archive to the logs server.
160 - gerrit-trigger-scm:
161 credentials-id: 'jenkins-gerrit-credentials'
162 refspec: '$GERRIT_REFSPEC'
163 choosing-strategy: 'default'
166 - fdio-infra-wrappers-non-activity-timeout:
167 build-timeout: '{build-timeout}'
171 server-name: 'Primary'
173 - comment-added-contains-event:
174 comment-contains-value: 'run-report'
176 - project-compare-type: 'ANT'
177 project-pattern: '{project}'
179 - branch-compare-type: 'ANT'
180 branch-pattern: '**/{branch}'
189 maven-version: 'mvn33-new'
191 settings: 'csit-settings'
193 global-settings: 'global-settings'
194 global-settings-type: cfp
195 - provide-maven-settings:
196 settings-file: 'csit-settings'
197 global-settings-file: 'global-settings'
200 - ../scripts/csit/report.sh
203 - fdio-infra-shiplogs:
204 maven-version: 'mvn33-new'
207 name: 'csit-trending-daily-master'
209 project-type: freestyle
210 node: '{executor-large}'
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/csit/cpta.sh
257 # yamllint disable-line rule:line-length
258 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
261 subject: 'Failed tests as of $BUILD_TIMESTAMP'
262 # yamllint disable-line rule:line-length
264 Following tests failed in the last trending job runs, listed per testbed type.
266 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
272 # yamllint disable-line rule:line-length
273 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
276 subject: 'Regressions as of $BUILD_TIMESTAMP'
277 # yamllint disable-line rule:line-length
279 Following regressions occured in the last trending job runs, listed per testbed type.
281 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
287 # yamllint disable-line rule:line-length
288 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
291 subject: 'Progressions as of $BUILD_TIMESTAMP'
292 # yamllint disable-line rule:line-length
294 Following progressions occured in the last trending job runs, listed per testbed type.
296 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
301 - fdio-infra-shiplogs:
302 maven-version: 'mvn33-new'
308 - gerrit-info-yaml-verify
309 build-node: centos7-builder-4c-4g