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.'
23 executor: 'vpp-csit-arm-ubuntu18'
25 trigger: 'gerrit-trigger-csit-vpp-devicetest-manual'
27 - 'csit-vpp-device-{stream}-{os}-{node-arch}'
28 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
29 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
30 - 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
31 - 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
34 executor: 'vpp-csit-device'
37 trigger: 'gerrit-trigger-csit-vpp-devicetest-full'
44 branch-id: 'oper-rls2001'
51 branch-id: 'oper-rls1904'
54 branch-id: 'oper-rls1908_1'
57 branch-id: 'oper-rls2001'
62 - stream_timed: '1908'
65 - stream_timed: 'master'
70 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
75 <li>vpp-device verify - per csit gerrit patch
79 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
80 <li>trigger: keyword in comment to csit patch:
81 <b>csit-devicetest tag_list</b>
87 <li>test-cases selection
89 <li>test-cases selected using trigger keyword followed by tags
90 <li>all test-cases are labelled with CSIT RF topic tags
91 defined in <i>csit/docs/tag_documentation.rst</i>
93 <li>default tags for vpp-device test type
99 <li>jjb verify: PASS/FAIL
105 project-type: freestyle
108 archive-artifacts: 'archive/*.*'
112 daysToKeep: '{build-days-to-keep}'
113 numToKeep: '{build-num-to-keep}'
114 artifactDaysToKeep: '{build-artifact-days-to-keep}'
115 artifactNumToKeep: '{build-artifact-num-to-keep}'
124 - gerrit-refspec-parameter
125 - gerrit-event-type-parameter
126 - gerrit-event-comment-text-parameter
128 name: ARCHIVE_ARTIFACTS
129 default: '{archive-artifacts}'
130 description: Artifacts to archive to the logs server.
131 # This is an automatic verify job, part of API coverage.
132 # CRC checking is needed to ensure vpp crc job breaks only when intended.
133 # Unlikely to be removed, as this job is primary source of API coverage.
134 - csit-fail-on-crc-mismatch-parameter:
135 fail-on-crc-mismatch: 'True'
138 - gerrit-trigger-scm:
139 credentials-id: 'jenkins-gerrit-credentials'
140 refspec: '$GERRIT_REFSPEC'
141 choosing-strategy: 'gerrit'
144 - fdio-infra-wrappers:
145 build-timeout: '{build-timeout}'
151 skip-vote: '{skip-vote}'
156 - ../scripts/csit/device-verify.sh
163 - fdio-infra-shiplogs:
164 maven-version: 'mvn33-new'
167 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
172 <li>Validate latest vpp build from corresponding branch stored
173 in nexus against verified CSIT codebase of corresponding
180 <li>test-cases selection
182 <li>pre-selected test-cases
183 <li>all test-cases are labelled with CSIT RF topic tags
184 defined in <i>csit/docs/tag_documentation.rst</i>
186 <li>default tags for vpp-device test type
192 <li>jjb verify: PASS/FAIL
198 project-type: freestyle
201 archive-artifacts: 'csit/archive/*.*'
205 daysToKeep: '{build-days-to-keep}'
206 numToKeep: '{build-num-to-keep}'
207 artifactDaysToKeep: '{build-artifact-days-to-keep}'
208 artifactNumToKeep: '{build-artifact-num-to-keep}'
218 name: ARCHIVE_ARTIFACTS
219 default: '{archive-artifacts}'
220 description: Artifacts to archive to the logs server.
223 - fdio-infra-wrappers-non-activity-timeout:
224 build-timeout: '{build-timeout}'
227 - timed: '0 4 * * 2,6'
229 - gerrit-trigger-manually-triggered:
230 comment-trigger-value: 'csit-verify-vpp'
235 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
237 properties-file: variables.prop
240 - ../scripts/csit/device-semiweekly.sh
244 output-path: 'csit/archive'
247 - fdio-infra-shiplogs:
248 maven-version: 'mvn33-new'
251 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
256 <li>Validate CSIT code of corresponding branch against
257 verified vpp build from corresponding branch.
263 <li>test-cases selection
265 <li>pre-selected test-cases
266 <li>all test-cases are labelled with CSIT RF topic tags
267 defined in <i>csit/docs/tag_documentation.rst</i>
269 <li>default tags for vpp-device test type
275 <li>jjb verify: PASS/FAIL
281 project-type: freestyle
284 archive-artifacts: 'archive/*.*'
288 daysToKeep: '{build-days-to-keep}'
289 numToKeep: '{build-num-to-keep}'
290 artifactDaysToKeep: '{build-artifact-days-to-keep}'
291 artifactNumToKeep: '{build-artifact-num-to-keep}'
301 name: ARCHIVE_ARTIFACTS
302 default: '{archive-artifacts}'
303 description: Artifacts to archive to the logs server.
307 credentials-id: 'jenkins-gerrit-credentials'
311 - fdio-infra-wrappers-non-activity-timeout:
312 build-timeout: '{build-timeout}'
317 - gerrit-trigger-manually-triggered:
318 comment-trigger-value: 'csit-vpp-ref-verify'
325 - ../scripts/csit/device-verify.sh
332 - fdio-infra-shiplogs:
333 maven-version: 'mvn33-new'
336 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
341 <li>Validate CSIT code of corresponding branch against
342 verified vpp build from corresponding branch.
346 <li>vpp-csit-arm-ubuntu18
348 <li>test-cases selection
350 <li>pre-selected test-cases
351 <li>all test-cases are labelled with CSIT RF topic tags
352 defined in <i>csit/docs/tag_documentation.rst</i>
354 <li>default tags for vpp-device test type
360 <li>jjb verify: PASS/FAIL
366 project-type: freestyle
367 node: 'vpp-csit-arm-ubuntu18'
369 archive-artifacts: 'archive/*.*'
373 daysToKeep: '{build-days-to-keep}'
374 numToKeep: '{build-num-to-keep}'
375 artifactDaysToKeep: '{build-artifact-days-to-keep}'
376 artifactNumToKeep: '{build-artifact-num-to-keep}'
386 name: ARCHIVE_ARTIFACTS
387 default: '{archive-artifacts}'
388 description: Artifacts to archive to the logs server.
392 credentials-id: 'jenkins-gerrit-credentials'
396 - fdio-infra-wrappers-non-activity-timeout:
397 build-timeout: '{build-timeout}'
405 - ../scripts/csit/device-verify.sh
412 - fdio-infra-shiplogs:
413 maven-version: 'mvn33-new'
416 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
421 <li>Validate latest vpp build from corresponding branch stored
422 in nexus against verified CSIT codebase of corresponding
427 <li>vpp-csit-arm-ubuntu18
429 <li>test-cases selection
431 <li>pre-selected test-cases
432 <li>all test-cases are labelled with CSIT RF topic tags
433 defined in <i>csit/docs/tag_documentation.rst</i>
435 <li>default tags for vpp-device test type
441 <li>jjb verify: PASS/FAIL
447 project-type: freestyle
448 node: 'vpp-csit-arm-ubuntu18'
450 archive-artifacts: 'csit/archive/*.*'
454 daysToKeep: '{build-days-to-keep}'
455 numToKeep: '{build-num-to-keep}'
456 artifactDaysToKeep: '{build-artifact-days-to-keep}'
457 artifactNumToKeep: '{build-artifact-num-to-keep}'
467 name: ARCHIVE_ARTIFACTS
468 default: '{archive-artifacts}'
469 description: Artifacts to archive to the logs server.
472 - fdio-infra-wrappers-non-activity-timeout:
473 build-timeout: '{build-timeout}'
476 - timed: '30 * * * *'
479 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
481 properties-file: variables.prop
484 - ../scripts/csit/device-semiweekly.sh
488 output-path: 'csit/archive'
491 - fdio-infra-shiplogs:
492 maven-version: 'mvn33-new'