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>
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}'
149 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
156 - fdio-infra-shiplogs:
157 maven-version: 'mvn33-new'
160 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
165 <li>Validate latest vpp build from corresponding branch stored
166 in nexus against verified CSIT codebase of corresponding
173 <li>test-cases selection
175 <li>pre-selected test-cases
176 <li>all test-cases are labelled with CSIT RF topic tags
177 defined in <i>csit/docs/tag_documentation.rst</i>
179 <li>default tags for vpp-device test type
185 <li>jjb verify: PASS/FAIL
191 project-type: freestyle
194 archive-artifacts: 'csit/archive/*.*'
198 daysToKeep: '{build-days-to-keep}'
199 numToKeep: '{build-num-to-keep}'
200 artifactDaysToKeep: '{build-artifact-days-to-keep}'
201 artifactNumToKeep: '{build-artifact-num-to-keep}'
211 name: ARCHIVE_ARTIFACTS
212 default: '{archive-artifacts}'
213 description: Artifacts to archive to the logs server.
216 - fdio-infra-wrappers-non-activity-timeout:
217 build-timeout: '{build-timeout}'
220 - timed: '0 4 * * 2,6'
222 - gerrit-trigger-manually-triggered:
223 comment-trigger-value: 'csit-verify-vpp'
228 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
230 properties-file: variables.prop
232 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
236 output-path: 'csit/archive'
239 - fdio-infra-shiplogs:
240 maven-version: 'mvn33-new'
243 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
248 <li>Validate CSIT code of corresponding branch against
249 verified vpp build from corresponding branch.
255 <li>test-cases selection
257 <li>pre-selected test-cases
258 <li>all test-cases are labelled with CSIT RF topic tags
259 defined in <i>csit/docs/tag_documentation.rst</i>
261 <li>default tags for vpp-device test type
267 <li>jjb verify: PASS/FAIL
273 project-type: freestyle
276 archive-artifacts: 'archive/*.*'
280 daysToKeep: '{build-days-to-keep}'
281 numToKeep: '{build-num-to-keep}'
282 artifactDaysToKeep: '{build-artifact-days-to-keep}'
283 artifactNumToKeep: '{build-artifact-num-to-keep}'
293 name: ARCHIVE_ARTIFACTS
294 default: '{archive-artifacts}'
295 description: Artifacts to archive to the logs server.
299 credentials-id: 'jenkins-gerrit-credentials'
303 - fdio-infra-wrappers-non-activity-timeout:
304 build-timeout: '{build-timeout}'
309 - gerrit-trigger-manually-triggered:
310 comment-trigger-value: 'csit-vpp-ref-verify'
316 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
323 - fdio-infra-shiplogs:
324 maven-version: 'mvn33-new'
327 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
332 <li>Validate CSIT code of corresponding branch against
333 verified vpp build from corresponding branch.
337 <li>vpp-csit-arm-ubuntu18
339 <li>test-cases selection
341 <li>pre-selected test-cases
342 <li>all test-cases are labelled with CSIT RF topic tags
343 defined in <i>csit/docs/tag_documentation.rst</i>
345 <li>default tags for vpp-device test type
351 <li>jjb verify: PASS/FAIL
357 project-type: freestyle
358 node: 'vpp-csit-arm-ubuntu18'
360 archive-artifacts: 'archive/*.*'
364 daysToKeep: '{build-days-to-keep}'
365 numToKeep: '{build-num-to-keep}'
366 artifactDaysToKeep: '{build-artifact-days-to-keep}'
367 artifactNumToKeep: '{build-artifact-num-to-keep}'
377 name: ARCHIVE_ARTIFACTS
378 default: '{archive-artifacts}'
379 description: Artifacts to archive to the logs server.
383 credentials-id: 'jenkins-gerrit-credentials'
387 - fdio-infra-wrappers-non-activity-timeout:
388 build-timeout: '{build-timeout}'
395 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
402 - fdio-infra-shiplogs:
403 maven-version: 'mvn33-new'
406 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
411 <li>Validate latest vpp build from corresponding branch stored
412 in nexus against verified CSIT codebase of corresponding
417 <li>vpp-csit-arm-ubuntu18
419 <li>test-cases selection
421 <li>pre-selected test-cases
422 <li>all test-cases are labelled with CSIT RF topic tags
423 defined in <i>csit/docs/tag_documentation.rst</i>
425 <li>default tags for vpp-device test type
431 <li>jjb verify: PASS/FAIL
437 project-type: freestyle
438 node: 'vpp-csit-arm-ubuntu18'
440 archive-artifacts: 'csit/archive/*.*'
444 daysToKeep: '{build-days-to-keep}'
445 numToKeep: '{build-num-to-keep}'
446 artifactDaysToKeep: '{build-artifact-days-to-keep}'
447 artifactNumToKeep: '{build-artifact-num-to-keep}'
457 name: ARCHIVE_ARTIFACTS
458 default: '{archive-artifacts}'
459 description: Artifacts to archive to the logs server.
462 - fdio-infra-wrappers-non-activity-timeout:
463 build-timeout: '{build-timeout}'
466 - timed: '30 * * * *'
469 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
471 properties-file: variables.prop
473 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
477 output-path: 'csit/archive'
480 - fdio-infra-shiplogs:
481 maven-version: 'mvn33-new'