1 # Copyright (c) 2019 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-rls1908'
51 branch-id: 'oper-rls1901'
54 branch-id: 'oper-rls1904'
57 branch-id: 'oper-rls1908'
65 - stream_timed: '1908'
68 - stream_timed: 'master'
73 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
78 <li>vpp-device verify - per csit gerrit patch
82 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
83 <li>trigger: keyword in comment to csit patch:
84 <b>csit-devicetest tag_list</b>
86 <li>test-cases selection
88 <li>test-cases selected using trigger keyword followed by tags
89 <li>all test-cases are labelled with CSIT RF topic tags
90 defined in <i>csit/docs/tag_documentation.rst</i>
92 <li>default tags for vpp-device test type
98 <li>jjb verify: PASS/FAIL
104 project-type: freestyle
107 archive-artifacts: 'archive/*.*'
111 daysToKeep: '{build-days-to-keep}'
112 numToKeep: '{build-num-to-keep}'
113 artifactDaysToKeep: '{build-artifact-days-to-keep}'
114 artifactNumToKeep: '{build-artifact-num-to-keep}'
123 - gerrit-refspec-parameter
124 - gerrit-event-type-parameter
125 - gerrit-event-comment-text-parameter
127 name: ARCHIVE_ARTIFACTS
128 default: '{archive-artifacts}'
129 description: Artifacts to archive to the logs server.
130 # This is an automatic verify job, part of API coverage.
131 # CRC checking is needed to ensure vpp crc job breaks only when intended.
132 # Unlikely to be removed, as this job is primary source of API coverage.
133 - csit-fail-on-crc-mismatch-parameter:
134 fail-on-crc-mismatch: 'True'
137 - gerrit-trigger-scm:
138 credentials-id: 'jenkins-gerrit-credentials'
139 refspec: '$GERRIT_REFSPEC'
140 choosing-strategy: 'gerrit'
143 - fdio-infra-wrappers:
144 build-timeout: '{build-timeout}'
150 skip-vote: '{skip-vote}'
154 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
161 - fdio-infra-shiplogs:
162 maven-version: 'mvn33-new'
165 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
170 <li>Validate latest vpp build from corresponding branch stored
171 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
233 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
237 output-path: 'csit/archive'
240 - fdio-infra-shiplogs:
241 maven-version: 'mvn33-new'
244 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
249 <li>Validate CSIT code of corresponding branch against
250 verified vpp build from corresponding branch.
252 <li>test-cases selection
254 <li>pre-selected test-cases
255 <li>all test-cases are labelled with CSIT RF topic tags
256 defined in <i>csit/docs/tag_documentation.rst</i>
258 <li>default tags for vpp-device test type
264 <li>jjb verify: PASS/FAIL
270 project-type: freestyle
273 archive-artifacts: 'archive/*.*'
277 daysToKeep: '{build-days-to-keep}'
278 numToKeep: '{build-num-to-keep}'
279 artifactDaysToKeep: '{build-artifact-days-to-keep}'
280 artifactNumToKeep: '{build-artifact-num-to-keep}'
290 name: ARCHIVE_ARTIFACTS
291 default: '{archive-artifacts}'
292 description: Artifacts to archive to the logs server.
296 credentials-id: 'jenkins-gerrit-credentials'
300 - fdio-infra-wrappers-non-activity-timeout:
301 build-timeout: '{build-timeout}'
306 - gerrit-trigger-manually-triggered:
307 comment-trigger-value: 'csit-vpp-ref-verify'
313 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
320 - fdio-infra-shiplogs:
321 maven-version: 'mvn33-new'
324 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
329 <li>Validate CSIT code of corresponding branch against
330 verified vpp build from corresponding branch.
332 <li>test-cases selection
334 <li>pre-selected test-cases
335 <li>all test-cases are labelled with CSIT RF topic tags
336 defined in <i>csit/docs/tag_documentation.rst</i>
338 <li>default tags for vpp-device test type
344 <li>jjb verify: PASS/FAIL
350 project-type: freestyle
351 node: 'vpp-csit-arm-ubuntu18'
353 archive-artifacts: 'archive/*.*'
357 daysToKeep: '{build-days-to-keep}'
358 numToKeep: '{build-num-to-keep}'
359 artifactDaysToKeep: '{build-artifact-days-to-keep}'
360 artifactNumToKeep: '{build-artifact-num-to-keep}'
370 name: ARCHIVE_ARTIFACTS
371 default: '{archive-artifacts}'
372 description: Artifacts to archive to the logs server.
376 credentials-id: 'jenkins-gerrit-credentials'
380 - fdio-infra-wrappers-non-activity-timeout:
381 build-timeout: '{build-timeout}'
388 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
395 - fdio-infra-shiplogs:
396 maven-version: 'mvn33-new'
399 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
404 <li>Validate latest vpp build from corresponding branch stored
405 in nexus against verified CSIT codebase of corresponding
408 <li>test-cases selection
410 <li>pre-selected test-cases
411 <li>all test-cases are labelled with CSIT RF topic tags
412 defined in <i>csit/docs/tag_documentation.rst</i>
414 <li>default tags for vpp-device test type
420 <li>jjb verify: PASS/FAIL
426 project-type: freestyle
427 node: 'vpp-csit-arm-ubuntu18'
429 archive-artifacts: 'csit/archive/*.*'
433 daysToKeep: '{build-days-to-keep}'
434 numToKeep: '{build-num-to-keep}'
435 artifactDaysToKeep: '{build-artifact-days-to-keep}'
436 artifactNumToKeep: '{build-artifact-num-to-keep}'
446 name: ARCHIVE_ARTIFACTS
447 default: '{archive-artifacts}'
448 description: Artifacts to archive to the logs server.
451 - fdio-infra-wrappers-non-activity-timeout:
452 build-timeout: '{build-timeout}'
455 - timed: '30 * * * *'
458 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
460 properties-file: variables.prop
462 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
466 output-path: 'csit/archive'
469 - fdio-infra-shiplogs:
470 maven-version: 'mvn33-new'