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}'
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
44 name: 'csit-docs-merge-{stream}'
46 project-type: freestyle
52 default-excludes: false
55 daysToKeep: '{build-days-to-keep}'
56 numToKeep: '{build-num-to-keep}'
57 artifactDaysToKeep: '{build-artifact-days-to-keep}'
58 artifactNumToKeep: '{build-artifact-num-to-keep}'
66 maven-version: 'mvn33-new'
68 name: ARCHIVE_ARTIFACTS
69 default: '{archive-artifacts}'
70 description: Artifacts to archive to the logs server.
74 credentials-id: 'jenkins-gerrit-credentials'
76 choosing-strategy: 'default'
79 - fdio-infra-wrappers-non-activity-timeout:
80 build-timeout: '{build-timeout}'
84 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
87 server-name: 'Primary'
89 - comment-added-contains-event:
90 comment-contains-value: 'run-docs'
92 - project-compare-type: 'ANT'
93 project-pattern: '{project}'
95 - branch-compare-type: 'ANT'
96 branch-pattern: '**/{branch}'
105 maven-version: 'mvn33-new'
107 settings: 'csit-settings'
109 global-settings: 'global-settings'
110 global-settings-type: cfp
111 - provide-maven-settings:
112 settings-file: 'csit-settings'
113 global-settings-file: 'global-settings'
116 - ../scripts/csit/docs.sh
119 - fdio-infra-shiplogs:
120 maven-version: 'mvn33-new'
123 name: 'csit-report-merge-{stream}'
125 project-type: freestyle
126 node: '{executor-large}'
130 only-if-success: true
131 default-excludes: false
134 daysToKeep: '{build-days-to-keep}'
135 numToKeep: '{build-num-to-keep}'
136 artifactDaysToKeep: '{build-artifact-days-to-keep}'
137 artifactNumToKeep: '{build-artifact-num-to-keep}'
145 maven-version: 'mvn33-new'
147 name: ARCHIVE_ARTIFACTS
148 default: '{archive-artifacts}'
149 description: Artifacts to archive to the logs server.
152 - gerrit-trigger-scm:
153 credentials-id: 'jenkins-gerrit-credentials'
154 refspec: '$GERRIT_REFSPEC'
155 choosing-strategy: 'default'
158 - fdio-infra-wrappers-non-activity-timeout:
159 build-timeout: '{build-timeout}'
163 server-name: 'Primary'
165 - comment-added-contains-event:
166 comment-contains-value: 'run-report'
168 - project-compare-type: 'ANT'
169 project-pattern: '{project}'
171 - branch-compare-type: 'ANT'
172 branch-pattern: '**/{branch}'
181 maven-version: 'mvn33-new'
183 settings: 'csit-settings'
185 global-settings: 'global-settings'
186 global-settings-type: cfp
187 - provide-maven-settings:
188 settings-file: 'csit-settings'
189 global-settings-file: 'global-settings'
192 - ../scripts/csit/report.sh
195 - fdio-infra-shiplogs:
196 maven-version: 'mvn33-new'
199 name: 'csit-trending-daily-master'
201 project-type: freestyle
202 node: '{executor-large}'
206 daysToKeep: '{build-days-to-keep}'
207 numToKeep: '{build-num-to-keep}'
208 artifactDaysToKeep: '{build-artifact-days-to-keep}'
209 artifactNumToKeep: '{build-artifact-num-to-keep}'
217 maven-version: 'mvn33-new'
220 - gerrit-trigger-scm:
221 credentials-id: 'jenkins-gerrit-credentials'
223 choosing-strategy: 'default'
226 - fdio-infra-wrappers-non-activity-timeout:
227 build-timeout: '{build-timeout}'
230 - timed: '0 2,14 * * *'
234 maven-version: 'mvn33-new'
236 settings: 'csit-settings'
238 global-settings: 'global-settings'
239 global-settings-type: cfp
240 - provide-maven-settings:
241 settings-file: 'csit-settings'
242 global-settings-file: 'global-settings'
245 - ../scripts/csit/cpta.sh
249 # yamllint disable-line rule:line-length
250 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
253 subject: 'Failed tests as of $BUILD_TIMESTAMP'
254 # yamllint disable-line rule:line-length
256 Following tests failed in the last trending job runs, listed per testbed type.
258 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
264 # yamllint disable-line rule:line-length
265 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
268 subject: 'Regressions as of $BUILD_TIMESTAMP'
269 # yamllint disable-line rule:line-length
271 Following regressions occured in the last trending job runs, listed per testbed type.
273 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
279 # yamllint disable-line rule:line-length
280 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
283 subject: 'Progressions as of $BUILD_TIMESTAMP'
284 # yamllint disable-line rule:line-length
286 Following progressions occured in the last trending job runs, listed per testbed type.
288 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
293 - fdio-infra-shiplogs:
294 maven-version: 'mvn33-new'
300 - gerrit-info-yaml-verify
301 build-node: centos7-builder-4c-4g