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'
48 branch-id: 'oper-rls1904'
51 branch-id: 'oper-rls1908_1'
56 - stream_timed: '1908'
59 - stream_timed: 'master'
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>
77 <li>test-cases selection
79 <li>test-cases selected using trigger keyword followed by tags
80 <li>all test-cases are labelled with CSIT RF topic tags
81 defined in <i>csit/docs/tag_documentation.rst</i>
83 <li>default tags for vpp-device test type
89 <li>jjb verify: PASS/FAIL
95 project-type: freestyle
98 archive-artifacts: 'archive/*.*'
102 daysToKeep: '{build-days-to-keep}'
103 numToKeep: '{build-num-to-keep}'
104 artifactDaysToKeep: '{build-artifact-days-to-keep}'
105 artifactNumToKeep: '{build-artifact-num-to-keep}'
114 - gerrit-refspec-parameter
115 - gerrit-event-type-parameter
116 - gerrit-event-comment-text-parameter
118 name: ARCHIVE_ARTIFACTS
119 default: '{archive-artifacts}'
120 description: Artifacts to archive to the logs server.
121 # This is an automatic verify job, part of API coverage.
122 # CRC checking is needed to ensure vpp crc job breaks only when intended.
123 # Unlikely to be removed, as this job is primary source of API coverage.
124 - csit-fail-on-crc-mismatch-parameter:
125 fail-on-crc-mismatch: 'True'
128 - gerrit-trigger-scm:
129 credentials-id: 'jenkins-gerrit-credentials'
130 refspec: '$GERRIT_REFSPEC'
131 choosing-strategy: 'gerrit'
134 - fdio-infra-wrappers:
135 build-timeout: '{build-timeout}'
141 skip-vote: '{skip-vote}'
145 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
152 - fdio-infra-shiplogs:
153 maven-version: 'mvn33-new'
156 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
161 <li>Validate latest vpp build from corresponding branch stored
162 in nexus against verified CSIT codebase of corresponding
165 <li>test-cases selection
167 <li>pre-selected test-cases
168 <li>all test-cases are labelled with CSIT RF topic tags
169 defined in <i>csit/docs/tag_documentation.rst</i>
171 <li>default tags for vpp-device test type
177 <li>jjb verify: PASS/FAIL
183 project-type: freestyle
186 archive-artifacts: 'csit/archive/*.*'
190 daysToKeep: '{build-days-to-keep}'
191 numToKeep: '{build-num-to-keep}'
192 artifactDaysToKeep: '{build-artifact-days-to-keep}'
193 artifactNumToKeep: '{build-artifact-num-to-keep}'
203 name: ARCHIVE_ARTIFACTS
204 default: '{archive-artifacts}'
205 description: Artifacts to archive to the logs server.
208 - fdio-infra-wrappers-non-activity-timeout:
209 build-timeout: '{build-timeout}'
212 - timed: '0 4 * * 2,6'
214 - gerrit-trigger-manually-triggered:
215 comment-trigger-value: 'csit-verify-vpp'
220 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
222 properties-file: variables.prop
224 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
228 output-path: 'csit/archive'
231 - fdio-infra-shiplogs:
232 maven-version: 'mvn33-new'
235 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
240 <li>Validate CSIT code of corresponding branch against
241 verified vpp build from corresponding branch.
243 <li>test-cases selection
245 <li>pre-selected test-cases
246 <li>all test-cases are labelled with CSIT RF topic tags
247 defined in <i>csit/docs/tag_documentation.rst</i>
249 <li>default tags for vpp-device test type
255 <li>jjb verify: PASS/FAIL
261 project-type: freestyle
264 archive-artifacts: 'archive/*.*'
268 daysToKeep: '{build-days-to-keep}'
269 numToKeep: '{build-num-to-keep}'
270 artifactDaysToKeep: '{build-artifact-days-to-keep}'
271 artifactNumToKeep: '{build-artifact-num-to-keep}'
281 name: ARCHIVE_ARTIFACTS
282 default: '{archive-artifacts}'
283 description: Artifacts to archive to the logs server.
287 credentials-id: 'jenkins-gerrit-credentials'
291 - fdio-infra-wrappers-non-activity-timeout:
292 build-timeout: '{build-timeout}'
297 - gerrit-trigger-manually-triggered:
298 comment-trigger-value: 'csit-vpp-ref-verify'
304 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
311 - fdio-infra-shiplogs:
312 maven-version: 'mvn33-new'
315 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
320 <li>Validate CSIT code of corresponding branch against
321 verified vpp build from corresponding branch.
323 <li>test-cases selection
325 <li>pre-selected test-cases
326 <li>all test-cases are labelled with CSIT RF topic tags
327 defined in <i>csit/docs/tag_documentation.rst</i>
329 <li>default tags for vpp-device test type
335 <li>jjb verify: PASS/FAIL
341 project-type: freestyle
342 node: 'vpp-csit-arm-ubuntu18'
344 archive-artifacts: 'archive/*.*'
348 daysToKeep: '{build-days-to-keep}'
349 numToKeep: '{build-num-to-keep}'
350 artifactDaysToKeep: '{build-artifact-days-to-keep}'
351 artifactNumToKeep: '{build-artifact-num-to-keep}'
361 name: ARCHIVE_ARTIFACTS
362 default: '{archive-artifacts}'
363 description: Artifacts to archive to the logs server.
367 credentials-id: 'jenkins-gerrit-credentials'
371 - fdio-infra-wrappers-non-activity-timeout:
372 build-timeout: '{build-timeout}'
379 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
386 - fdio-infra-shiplogs:
387 maven-version: 'mvn33-new'
390 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
395 <li>Validate latest vpp build from corresponding branch stored
396 in nexus against verified CSIT codebase of corresponding
399 <li>test-cases selection
401 <li>pre-selected test-cases
402 <li>all test-cases are labelled with CSIT RF topic tags
403 defined in <i>csit/docs/tag_documentation.rst</i>
405 <li>default tags for vpp-device test type
411 <li>jjb verify: PASS/FAIL
417 project-type: freestyle
418 node: 'vpp-csit-arm-ubuntu18'
420 archive-artifacts: 'csit/archive/*.*'
424 daysToKeep: '{build-days-to-keep}'
425 numToKeep: '{build-num-to-keep}'
426 artifactDaysToKeep: '{build-artifact-days-to-keep}'
427 artifactNumToKeep: '{build-artifact-num-to-keep}'
437 name: ARCHIVE_ARTIFACTS
438 default: '{archive-artifacts}'
439 description: Artifacts to archive to the logs server.
442 - fdio-infra-wrappers-non-activity-timeout:
443 build-timeout: '{build-timeout}'
446 - timed: '30 * * * *'
449 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
451 properties-file: variables.prop
453 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
457 output-path: 'csit/archive'
460 - fdio-infra-shiplogs:
461 maven-version: 'mvn33-new'