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'
45 executor: 'ubuntu1804-us'
54 name: 'csit-docs-merge-{stream_timed}'
56 project-type: freestyle
62 default-excludes: false
65 daysToKeep: '{build-days-to-keep}'
66 numToKeep: '{build-num-to-keep}'
67 artifactDaysToKeep: '{build-artifact-days-to-keep}'
68 artifactNumToKeep: '{build-artifact-num-to-keep}'
76 maven-version: 'mvn33-new'
78 name: ARCHIVE_ARTIFACTS
79 default: '{archive-artifacts}'
80 description: Artifacts to archive to the logs server.
84 credentials-id: 'jenkins-gerrit-credentials'
86 choosing-strategy: 'default'
89 - fdio-infra-wrappers-non-activity-timeout:
90 build-timeout: '{build-timeout}'
94 jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
97 server-name: 'Primary'
99 - comment-added-contains-event:
100 comment-contains-value: 'run-docs'
102 - project-compare-type: 'ANT'
103 project-pattern: '{project}'
105 - branch-compare-type: 'ANT'
106 branch-pattern: '**/{branch}'
115 maven-version: 'mvn33-new'
117 settings: 'csit-settings'
119 global-settings: 'global-settings'
120 global-settings-type: cfp
121 - provide-maven-settings:
122 settings-file: 'csit-settings'
123 global-settings-file: 'global-settings'
125 !include-raw-escape: include-raw-csit-docs.sh
128 - fdio-infra-shiplogs:
129 maven-version: 'mvn33-new'
132 name: 'csit-report-merge-{stream}'
134 project-type: freestyle
135 node: '{executor-large}'
139 only-if-success: true
140 default-excludes: false
143 daysToKeep: '{build-days-to-keep}'
144 numToKeep: '{build-num-to-keep}'
145 artifactDaysToKeep: '{build-artifact-days-to-keep}'
146 artifactNumToKeep: '{build-artifact-num-to-keep}'
154 maven-version: 'mvn33-new'
156 name: ARCHIVE_ARTIFACTS
157 default: '{archive-artifacts}'
158 description: Artifacts to archive to the logs server.
161 - gerrit-trigger-scm:
162 credentials-id: 'jenkins-gerrit-credentials'
163 refspec: '$GERRIT_REFSPEC'
164 choosing-strategy: 'default'
167 - fdio-infra-wrappers-non-activity-timeout:
168 build-timeout: '{build-timeout}'
172 server-name: 'Primary'
174 - comment-added-contains-event:
175 comment-contains-value: 'run-report'
177 - project-compare-type: 'ANT'
178 project-pattern: '{project}'
180 - branch-compare-type: 'ANT'
181 branch-pattern: '**/{branch}'
190 maven-version: 'mvn33-new'
192 settings: 'csit-settings'
194 global-settings: 'global-settings'
195 global-settings-type: cfp
196 - provide-maven-settings:
197 settings-file: 'csit-settings'
198 global-settings-file: 'global-settings'
200 !include-raw-escape: include-raw-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'
252 !include-raw-escape: include-raw-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"}}
270 - fdio-infra-shiplogs:
271 maven-version: 'mvn33-new'
277 - gerrit-info-yaml-verify
278 build-node: centos7-builder-4c-4g