1 # Copyright (c) 2019 Cisco and/or its affiliates.
2 # Copyright (c) 2019 PANTHEON.tech s.r.o. and/or its affiliates.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
18 description: 'CSIT Functinal Testing Jenkins jobs.'
24 - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
25 - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
26 - 'csit-vpp-functional-{stream}-{os}-virl'
27 - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
28 - 'csit-tldk-verify-func-{stream}-{os}-virl'
29 - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
34 build-artifact-num-to-keep: 10
41 branch-id: 'oper-rls1908'
53 name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
54 # yamllint disable-line rule:line-length
55 description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
56 # yamllint enable rule:line-length
58 project-type: freestyle
59 node: '{os}-basebuild-4c-4g'
68 daysToKeep: '{build-days-to-keep}'
69 numToKeep: '{build-num-to-keep}'
70 artifactDaysToKeep: '{build-artifact-days-to-keep}'
71 artifactNumToKeep: '{build-artifact-num-to-keep}'
79 name: ARCHIVE_ARTIFACTS
80 default: '{archive-artifacts}'
81 description: Artifacts to archive to the logs server.
85 credentials-id: 'jenkins-gerrit-credentials'
89 - fdio-infra-wrappers-non-activity-timeout:
90 build-timeout: '{build-timeout}'
95 - gerrit-trigger-manually-triggered:
96 comment-trigger-value: 'csit-vpp-ref-verify'
102 !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
108 - fdio-infra-shiplogs:
109 maven-version: 'mvn33-new'
112 name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
113 # yamllint disable-line rule:line-length
114 description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
115 # yamllint enable rule:line-length
117 project-type: freestyle
118 node: '{os}-basebuild-4c-4g'
120 archive-artifacts: 'csit/archive/*.*'
124 daysToKeep: '{build-days-to-keep}'
125 numToKeep: '{build-num-to-keep}'
126 artifactDaysToKeep: '{build-artifact-days-to-keep}'
127 artifactNumToKeep: '{build-artifact-num-to-keep}'
135 name: ARCHIVE_ARTIFACTS
136 default: '{archive-artifacts}'
137 description: Artifacts to archive to the logs server.
140 - fdio-infra-wrappers-non-activity-timeout:
141 build-timeout: '{build-timeout}'
144 - timed: '0 4 * * 2,6'
146 - gerrit-trigger-manually-triggered:
147 comment-trigger-value: 'csit-verify-vpp'
152 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
154 properties-file: variables.prop
156 # yamllint disable-line rule:line-length
157 !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
158 # yamllint enable rule:line-length
162 output-path: 'csit/archive'
164 - fdio-infra-shiplogs:
165 maven-version: 'mvn33-new'
168 name: 'csit-vpp-functional-{stream}-{os}-virl'
170 project-type: freestyle
171 node: '{os}-basebuild-4c-4g'
180 daysToKeep: '{build-days-to-keep}'
181 numToKeep: '{build-num-to-keep}'
182 artifactDaysToKeep: '{build-artifact-days-to-keep}'
183 artifactNumToKeep: '{build-artifact-num-to-keep}'
191 name: ARCHIVE_ARTIFACTS
192 default: '{archive-artifacts}'
193 description: Artifacts to archive to the logs server.
194 # This is an automatic verify job, part of API coverage.
195 # CRC checking is needed to ensure vpp crc job breaks only when intended.
196 # Can be removed when this job is no longer needed for full API coverage.
197 - csit-fail-on-crc-mismatch-parameter:
198 fail-on-crc-mismatch: 'True'
201 - gerrit-trigger-scm:
202 credentials-id: 'jenkins-gerrit-credentials'
203 refspec: '$GERRIT_REFSPEC'
204 choosing-strategy: 'gerrit'
207 - fdio-infra-wrappers:
208 build-timeout: '{build-timeout}'
211 - gerrit-trigger-patch-submitted:
217 !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
223 - fdio-infra-shiplogs:
224 maven-version: 'mvn33-new'
227 name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
229 project-type: freestyle
230 node: '{os}-basebuild-4c-4g'
232 archive-artifacts: 'archive/*.*'
236 daysToKeep: '{build-days-to-keep}'
237 numToKeep: '{build-num-to-keep}'
238 artifactDaysToKeep: '{build-artifact-days-to-keep}'
239 artifactNumToKeep: '{build-artifact-num-to-keep}'
251 name: ARCHIVE_ARTIFACTS
252 default: '{archive-artifacts}'
253 description: Artifacts to archive to the logs server.
256 - gerrit-trigger-scm:
257 credentials-id: 'jenkins-gerrit-credentials'
258 refspec: '$GERRIT_REFSPEC'
259 choosing-strategy: 'gerrit'
262 - fdio-infra-wrappers:
263 build-timeout: '{build-timeout}'
266 - gerrit-trigger-manually-triggered:
269 comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
273 !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
277 output-path: 'archive'
279 - fdio-infra-shiplogs:
280 maven-version: 'mvn33-new'
283 name: 'csit-tldk-verify-func-{stream}-{os}-virl'
285 project-type: freestyle
286 node: '{os}-basebuild-4c-4g'
288 archive-artifacts: 'archive/*.*'
292 daysToKeep: '{build-days-to-keep}'
293 numToKeep: '{build-num-to-keep}'
294 artifactDaysToKeep: '{build-artifact-days-to-keep}'
295 artifactNumToKeep: '{build-artifact-num-to-keep}'
305 name: ARCHIVE_ARTIFACTS
306 default: '{archive-artifacts}'
307 description: Artifacts to archive to the logs server.
310 - gerrit-trigger-scm:
311 credentials-id: 'jenkins-gerrit-credentials'
312 refspec: '$GERRIT_REFSPEC'
313 choosing-strategy: 'gerrit'
316 - fdio-infra-wrappers:
317 build-timeout: '{build-timeout}'
320 - gerrit-trigger-manually-triggered:
323 comment-trigger-value: 'csit_verify_tldk_func'
327 !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
331 output-path: 'archive'
333 - fdio-infra-shiplogs:
334 maven-version: 'mvn33-new'
337 name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
339 project-type: freestyle
340 node: 'ubuntu1604-basebuild-4c-4g'
342 archive-artifacts: 'archive/*.*'
346 daysToKeep: '{build-days-to-keep}'
347 numToKeep: '{build-num-to-keep}'
348 artifactDaysToKeep: '{build-artifact-days-to-keep}'
349 artifactNumToKeep: '{build-artifact-num-to-keep}'
357 name: ARCHIVE_ARTIFACTS
358 default: '{archive-artifacts}'
359 description: Artifacts to archive to the logs server.
362 - gerrit-trigger-scm:
363 credentials-id: 'jenkins-gerrit-credentials'
364 refspec: '$GERRIT_REFSPEC'
365 choosing-strategy: 'gerrit'
368 - fdio-infra-wrappers:
369 build-timeout: '{build-timeout}'
372 - gerrit-trigger-manually-triggered:
375 comment-trigger-value: 'csit_verify_dmm_func'
379 !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
385 - fdio-infra-shiplogs:
386 maven-version: 'mvn33-new'