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
46 name: 'csit-docs-merge-{stream}'
48 project-type: freestyle
54 default-excludes: false
57 daysToKeep: '{build-days-to-keep}'
58 numToKeep: '{build-num-to-keep}'
59 artifactDaysToKeep: '{build-artifact-days-to-keep}'
60 artifactNumToKeep: '{build-artifact-num-to-keep}'
68 maven-version: 'mvn33-new'
70 name: ARCHIVE_ARTIFACTS
71 default: '{archive-artifacts}'
72 description: Artifacts to archive to the logs server.
76 credentials-id: 'jenkins-gerrit-credentials'
78 choosing-strategy: 'default'
81 - fdio-infra-wrappers-non-activity-timeout:
82 build-timeout: '{build-timeout}'
86 jobs: 'csit-vpp-device-{stream}-ubuntu1804-1n-skx-weekly'
89 server-name: 'Primary'
91 - comment-added-contains-event:
92 comment-contains-value: 'run-docs'
94 - project-compare-type: 'ANT'
95 project-pattern: '{project}'
97 - branch-compare-type: 'ANT'
98 branch-pattern: '**/{branch}'
107 maven-version: 'mvn33-new'
109 settings: 'csit-settings'
111 global-settings: 'global-settings'
112 global-settings-type: cfp
113 - provide-maven-settings:
114 settings-file: 'csit-settings'
115 global-settings-file: 'global-settings'
118 - ../scripts/csit/docs.sh
121 - fdio-infra-shiplogs:
122 maven-version: 'mvn33-new'
125 name: 'csit-report-merge-{stream}'
127 project-type: freestyle
128 node: '{executor-large}'
132 only-if-success: true
133 default-excludes: false
136 daysToKeep: '{build-days-to-keep}'
137 numToKeep: '{build-num-to-keep}'
138 artifactDaysToKeep: '{build-artifact-days-to-keep}'
139 artifactNumToKeep: '{build-artifact-num-to-keep}'
147 maven-version: 'mvn33-new'
149 name: ARCHIVE_ARTIFACTS
150 default: '{archive-artifacts}'
151 description: Artifacts to archive to the logs server.
154 - gerrit-trigger-scm:
155 credentials-id: 'jenkins-gerrit-credentials'
156 refspec: '$GERRIT_REFSPEC'
157 choosing-strategy: 'default'
160 - fdio-infra-wrappers-non-activity-timeout:
161 build-timeout: '{build-timeout}'
165 server-name: 'Primary'
167 - comment-added-contains-event:
168 comment-contains-value: 'run-report'
170 - project-compare-type: 'ANT'
171 project-pattern: '{project}'
173 - branch-compare-type: 'ANT'
174 branch-pattern: '**/{branch}'
183 maven-version: 'mvn33-new'
185 settings: 'csit-settings'
187 global-settings: 'global-settings'
188 global-settings-type: cfp
189 - provide-maven-settings:
190 settings-file: 'csit-settings'
191 global-settings-file: 'global-settings'
194 - ../scripts/csit/report.sh
197 - fdio-infra-shiplogs:
198 maven-version: 'mvn33-new'
201 name: 'csit-trending-daily-master'
203 project-type: freestyle
204 node: '{executor-large}'
208 daysToKeep: '{build-days-to-keep}'
209 numToKeep: '{build-num-to-keep}'
210 artifactDaysToKeep: '{build-artifact-days-to-keep}'
211 artifactNumToKeep: '{build-artifact-num-to-keep}'
219 maven-version: 'mvn33-new'
222 - gerrit-trigger-scm:
223 credentials-id: 'jenkins-gerrit-credentials'
225 choosing-strategy: 'default'
228 - fdio-infra-wrappers-non-activity-timeout:
229 build-timeout: '{build-timeout}'
232 - timed: '0 2,14 * * *'
236 maven-version: 'mvn33-new'
238 settings: 'csit-settings'
240 global-settings: 'global-settings'
241 global-settings-type: cfp
242 - provide-maven-settings:
243 settings-file: 'csit-settings'
244 global-settings-file: 'global-settings'
247 - ../scripts/csit/cpta.sh
251 # yamllint disable-line rule:line-length
252 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
255 subject: 'Failed tests as of $BUILD_TIMESTAMP'
256 # yamllint disable-line rule:line-length
258 Following tests failed in the last trending job runs, listed per testbed type.
260 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
266 # yamllint disable-line rule:line-length
267 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
270 subject: 'Regressions as of $BUILD_TIMESTAMP'
271 # yamllint disable-line rule:line-length
273 Following regressions occured in the last trending job runs, listed per testbed type.
275 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
281 # yamllint disable-line rule:line-length
282 recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
285 subject: 'Progressions as of $BUILD_TIMESTAMP'
286 # yamllint disable-line rule:line-length
288 Following progressions occured in the last trending job runs, listed per testbed type.
290 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
295 - fdio-infra-shiplogs:
296 maven-version: 'mvn33-new'
302 - gerrit-info-yaml-verify
303 build-node: centos7-builder-2c-2g
311 mvn-settings: csit-settings
313 sonarcloud-project-organization: '{sonarcloud_project_organization}'
314 sonarcloud-api-token: '{sonarcloud_api_token}'
315 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
317 build-node: centos7-builder-2c-2g