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}-{os}-{node-arch}-semiweekly':
35 branch-id: 'oper-rls1908_2'
36 - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
43 branch-id: 'oper-rls1908_2'
44 - 'csit-vpp-device-master-{os}-1n-tx2-csit-verify-hourly'
45 - 'csit-vpp-device-master-{os}-1n-tx2-vpp-verify-hourly'
48 executor: 'vpp-csit-device'
51 trigger: 'gerrit-trigger-csit-vpp-devicetest-full'
58 branch-id: 'oper-rls1908_2'
61 branch-id: 'oper-rls2001'
64 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
69 <li>vpp-device verify - per csit gerrit patch
73 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
74 <li>trigger: keyword in comment to csit patch:
75 <b>csit-devicetest tag_list</b>
81 <li>test-cases selection
83 <li>test-cases selected using trigger keyword followed by tags
84 <li>all test-cases are labelled with CSIT RF topic tags
85 defined in <i>csit/docs/tag_documentation.rst</i>
87 <li>default tags for vpp-device test type
93 <li>jjb verify: PASS/FAIL
99 project-type: freestyle
102 archive-artifacts: 'archive/*.*'
106 daysToKeep: '{build-days-to-keep}'
107 numToKeep: '{build-num-to-keep}'
108 artifactDaysToKeep: '{build-artifact-days-to-keep}'
109 artifactNumToKeep: '{build-artifact-num-to-keep}'
118 - gerrit-refspec-parameter
119 - gerrit-event-type-parameter
120 - gerrit-event-comment-text-parameter
122 name: ARCHIVE_ARTIFACTS
123 default: '{archive-artifacts}'
124 description: Artifacts to archive to the logs server.
125 # This is an automatic verify job, part of API coverage.
126 # CRC checking is needed to ensure vpp crc job breaks only when intended.
127 # Unlikely to be removed, as this job is primary source of API coverage.
128 - csit-fail-on-crc-mismatch-parameter:
129 fail-on-crc-mismatch: 'True'
132 - gerrit-trigger-scm:
133 credentials-id: 'jenkins-gerrit-credentials'
134 refspec: '$GERRIT_REFSPEC'
135 choosing-strategy: 'gerrit'
138 - fdio-infra-wrappers:
139 build-timeout: '{build-timeout}'
145 skip-vote: '{skip-vote}'
150 - ../scripts/csit/device-verify.sh
157 - fdio-infra-shiplogs:
158 maven-version: 'mvn33-new'
161 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly'
166 <li>Validate latest vpp build from corresponding branch stored
167 in nexus against verified CSIT codebase of corresponding
174 <li>test-cases selection
176 <li>pre-selected test-cases
177 <li>all test-cases are labelled with CSIT RF topic tags
178 defined in <i>csit/docs/tag_documentation.rst</i>
180 <li>default tags for vpp-device test type
186 <li>jjb verify: PASS/FAIL
192 project-type: freestyle
195 archive-artifacts: 'csit/archive/*.*'
199 daysToKeep: '{build-days-to-keep}'
200 numToKeep: '{build-num-to-keep}'
201 artifactDaysToKeep: '{build-artifact-days-to-keep}'
202 artifactNumToKeep: '{build-artifact-num-to-keep}'
212 name: ARCHIVE_ARTIFACTS
213 default: '{archive-artifacts}'
214 description: Artifacts to archive to the logs server.
217 - fdio-infra-wrappers-non-activity-timeout:
218 build-timeout: '{build-timeout}'
221 - timed: '0 4 * * 2,6'
223 - gerrit-trigger-manually-triggered:
224 comment-trigger-value: 'csit-verify-vpp'
229 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
231 properties-file: variables.prop
234 - ../scripts/csit/device-semiweekly.sh
238 output-path: 'csit/archive'
241 - fdio-infra-shiplogs:
242 maven-version: 'mvn33-new'
245 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly'
250 <li>Validate CSIT code of corresponding branch against
251 verified vpp build from corresponding branch.
257 <li>test-cases selection
259 <li>pre-selected test-cases
260 <li>all test-cases are labelled with CSIT RF topic tags
261 defined in <i>csit/docs/tag_documentation.rst</i>
263 <li>default tags for vpp-device test type
269 <li>jjb verify: PASS/FAIL
275 project-type: freestyle
278 archive-artifacts: 'archive/*.*'
282 daysToKeep: '{build-days-to-keep}'
283 numToKeep: '{build-num-to-keep}'
284 artifactDaysToKeep: '{build-artifact-days-to-keep}'
285 artifactNumToKeep: '{build-artifact-num-to-keep}'
295 name: ARCHIVE_ARTIFACTS
296 default: '{archive-artifacts}'
297 description: Artifacts to archive to the logs server.
301 credentials-id: 'jenkins-gerrit-credentials'
305 - fdio-infra-wrappers-non-activity-timeout:
306 build-timeout: '{build-timeout}'
311 - gerrit-trigger-manually-triggered:
312 comment-trigger-value: 'csit-vpp-ref-verify'
319 - ../scripts/csit/device-verify.sh
326 - fdio-infra-shiplogs:
327 maven-version: 'mvn33-new'
330 name: 'csit-vpp-device-master-{os}-1n-tx2-csit-verify-hourly'
335 <li>Validate CSIT code of corresponding branch against
336 verified vpp build from corresponding branch.
340 <li>vpp-csit-arm-ubuntu18
342 <li>test-cases selection
344 <li>pre-selected test-cases
345 <li>all test-cases are labelled with CSIT RF topic tags
346 defined in <i>csit/docs/tag_documentation.rst</i>
348 <li>default tags for vpp-device test type
354 <li>jjb verify: PASS/FAIL
360 project-type: freestyle
361 node: 'vpp-csit-arm-ubuntu18'
363 archive-artifacts: 'archive/*.*'
367 daysToKeep: '{build-days-to-keep}'
368 numToKeep: '{build-num-to-keep}'
369 artifactDaysToKeep: '{build-artifact-days-to-keep}'
370 artifactNumToKeep: '{build-artifact-num-to-keep}'
380 name: ARCHIVE_ARTIFACTS
381 default: '{archive-artifacts}'
382 description: Artifacts to archive to the logs server.
386 credentials-id: 'jenkins-gerrit-credentials'
390 - fdio-infra-wrappers-non-activity-timeout:
391 build-timeout: '{build-timeout}'
399 - ../scripts/csit/device-verify.sh
406 - fdio-infra-shiplogs:
407 maven-version: 'mvn33-new'
410 name: 'csit-vpp-device-master-{os}-1n-tx2-vpp-verify-hourly'
415 <li>Validate latest vpp build from corresponding branch stored
416 in nexus against verified CSIT codebase of corresponding
421 <li>vpp-csit-arm-ubuntu18
423 <li>test-cases selection
425 <li>pre-selected test-cases
426 <li>all test-cases are labelled with CSIT RF topic tags
427 defined in <i>csit/docs/tag_documentation.rst</i>
429 <li>default tags for vpp-device test type
435 <li>jjb verify: PASS/FAIL
441 project-type: freestyle
442 node: 'vpp-csit-arm-ubuntu18'
444 archive-artifacts: 'csit/archive/*.*'
448 daysToKeep: '{build-days-to-keep}'
449 numToKeep: '{build-num-to-keep}'
450 artifactDaysToKeep: '{build-artifact-days-to-keep}'
451 artifactNumToKeep: '{build-artifact-num-to-keep}'
461 name: ARCHIVE_ARTIFACTS
462 default: '{archive-artifacts}'
463 description: Artifacts to archive to the logs server.
466 - fdio-infra-wrappers-non-activity-timeout:
467 build-timeout: '{build-timeout}'
470 - timed: '30 * * * *'
473 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
475 properties-file: variables.prop
478 - ../scripts/csit/device-semiweekly.sh
482 output-path: 'csit/archive'
485 - fdio-infra-shiplogs:
486 maven-version: 'mvn33-new'