1 # Copyright (c) 2019 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: 'ubuntu1604-basebuild-4c-4g'
42 executor: 'ubuntu1804-us'
55 name: 'csit-docs-merge-{stream_timed}'
57 project-type: freestyle
63 default-excludes: false
66 daysToKeep: '{build-days-to-keep}'
67 numToKeep: '{build-num-to-keep}'
68 artifactDaysToKeep: '{build-artifact-days-to-keep}'
69 artifactNumToKeep: '{build-artifact-num-to-keep}'
77 maven-version: 'mvn33-new'
79 name: ARCHIVE_ARTIFACTS
80 default: '{archive-artifacts}'
81 description: Artifacts to archive to the logs server.
85 credentials-id: 'jenkins-gerrit-credentials'
87 choosing-strategy: 'default'
90 - fdio-infra-wrappers-non-activity-timeout:
91 build-timeout: '{build-timeout}'
95 jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
98 server-name: 'Primary'
100 - comment-added-contains-event:
101 comment-contains-value: 'run-docs'
103 - project-compare-type: 'ANT'
104 project-pattern: '{project}'
106 - branch-compare-type: 'ANT'
107 branch-pattern: '**/{branch}'
116 maven-version: 'mvn33-new'
118 settings: 'csit-settings'
120 global-settings: 'global-settings'
121 global-settings-type: cfp
122 - provide-maven-settings:
123 settings-file: 'csit-settings'
124 global-settings-file: 'global-settings'
126 !include-raw-escape: include-raw-csit-docs.sh
129 - fdio-infra-shiplogs:
130 maven-version: 'mvn33-new'
133 name: 'csit-report-merge-{stream}'
135 project-type: freestyle
136 node: '{executor-large}'
140 only-if-success: true
141 default-excludes: false
144 daysToKeep: '{build-days-to-keep}'
145 numToKeep: '{build-num-to-keep}'
146 artifactDaysToKeep: '{build-artifact-days-to-keep}'
147 artifactNumToKeep: '{build-artifact-num-to-keep}'
155 maven-version: 'mvn33-new'
157 name: ARCHIVE_ARTIFACTS
158 default: '{archive-artifacts}'
159 description: Artifacts to archive to the logs server.
162 - gerrit-trigger-scm:
163 credentials-id: 'jenkins-gerrit-credentials'
164 refspec: '$GERRIT_REFSPEC'
165 choosing-strategy: 'default'
168 - fdio-infra-wrappers-non-activity-timeout:
169 build-timeout: '{build-timeout}'
173 server-name: 'Primary'
175 - comment-added-contains-event:
176 comment-contains-value: 'run-report'
178 - project-compare-type: 'ANT'
179 project-pattern: '{project}'
181 - branch-compare-type: 'ANT'
182 branch-pattern: '**/{branch}'
191 maven-version: 'mvn33-new'
193 settings: 'csit-settings'
195 global-settings: 'global-settings'
196 global-settings-type: cfp
197 - provide-maven-settings:
198 settings-file: 'csit-settings'
199 global-settings-file: 'global-settings'
201 !include-raw-escape: include-raw-csit-report.sh
204 - fdio-infra-shiplogs:
205 maven-version: 'mvn33-new'
208 name: 'csit-trending-daily-master'
210 project-type: freestyle
211 node: '{executor-large}'
215 daysToKeep: '{build-days-to-keep}'
216 numToKeep: '{build-num-to-keep}'
217 artifactDaysToKeep: '{build-artifact-days-to-keep}'
218 artifactNumToKeep: '{build-artifact-num-to-keep}'
226 maven-version: 'mvn33-new'
229 - gerrit-trigger-scm:
230 credentials-id: 'jenkins-gerrit-credentials'
232 choosing-strategy: 'default'
235 - fdio-infra-wrappers-non-activity-timeout:
236 build-timeout: '{build-timeout}'
239 - timed: '0 2,14 * * *'
243 maven-version: 'mvn33-new'
245 settings: 'csit-settings'
247 global-settings: 'global-settings'
248 global-settings-type: cfp
249 - provide-maven-settings:
250 settings-file: 'csit-settings'
251 global-settings-file: 'global-settings'
253 !include-raw-escape: include-raw-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