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: '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'
123 !include-raw-escape: include-raw-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'
198 !include-raw-escape: include-raw-csit-report.sh
201 - fdio-infra-shiplogs:
202 maven-version: 'mvn33-new'
205 name: 'csit-trending-daily-master'
207 project-type: freestyle
208 node: '{executor-large}'
212 daysToKeep: '{build-days-to-keep}'
213 numToKeep: '{build-num-to-keep}'
214 artifactDaysToKeep: '{build-artifact-days-to-keep}'
215 artifactNumToKeep: '{build-artifact-num-to-keep}'
223 maven-version: 'mvn33-new'
226 - gerrit-trigger-scm:
227 credentials-id: 'jenkins-gerrit-credentials'
229 choosing-strategy: 'default'
232 - fdio-infra-wrappers-non-activity-timeout:
233 build-timeout: '{build-timeout}'
236 - timed: '0 2,14 * * *'
240 maven-version: 'mvn33-new'
242 settings: 'csit-settings'
244 global-settings: 'global-settings'
245 global-settings-type: cfp
246 - provide-maven-settings:
247 settings-file: 'csit-settings'
248 global-settings-file: 'global-settings'
250 !include-raw-escape: include-raw-csit-cpta.sh
254 # yamllint disable-line rule:line-length
255 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
258 subject: 'Failed tests as of $BUILD_TIMESTAMP'
259 # yamllint disable-line rule:line-length
261 Following tests failed in the last trending job runs, listed per testbed type.
263 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
269 # yamllint disable-line rule:line-length
270 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
273 subject: 'Regressions as of $BUILD_TIMESTAMP'
274 # yamllint disable-line rule:line-length
276 Following regressions occured in the last trending job runs, listed per testbed type.
278 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
284 # yamllint disable-line rule:line-length
285 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
288 subject: 'Progressions as of $BUILD_TIMESTAMP'
289 # yamllint disable-line rule:line-length
291 Following progressions occured in the last trending job runs, listed per testbed type.
293 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
298 - fdio-infra-shiplogs:
299 maven-version: 'mvn33-new'
305 - gerrit-info-yaml-verify
306 build-node: centos7-builder-4c-4g