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'
38 branch-id: 'oper-rls2005'
39 - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
46 branch-id: 'oper-rls1908_2'
49 branch-id: 'oper-rls2005'
50 - 'csit-vpp-device-master-{os}-1n-tx2-csit-verify-hourly'
51 - 'csit-vpp-device-master-{os}-1n-tx2-vpp-verify-hourly'
54 executor: 'vpp-csit-device'
57 trigger: 'gerrit-trigger-csit-vpp-devicetest-full'
64 branch-id: 'oper-rls1908_2'
67 branch-id: 'oper-rls2001'
70 branch-id: 'oper-rls2005'
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>
90 <li>test-cases selection
92 <li>test-cases selected using trigger keyword followed by tags
93 <li>all test-cases are labelled with CSIT RF topic tags
94 defined in <i>csit/docs/tag_documentation.rst</i>
96 <li>default tags for vpp-device test type
102 <li>jjb verify: PASS/FAIL
108 project-type: freestyle
111 archive-artifacts: 'archive/*.*'
115 daysToKeep: '{build-days-to-keep}'
116 numToKeep: '{build-num-to-keep}'
117 artifactDaysToKeep: '{build-artifact-days-to-keep}'
118 artifactNumToKeep: '{build-artifact-num-to-keep}'
127 - gerrit-refspec-parameter
128 - gerrit-event-type-parameter
129 - gerrit-event-comment-text-parameter
131 name: ARCHIVE_ARTIFACTS
132 default: '{archive-artifacts}'
133 description: Artifacts to archive to the logs server.
134 # This is an automatic verify job, part of API coverage.
135 # CRC checking is needed to ensure vpp crc job breaks only when intended.
136 # Unlikely to be removed, as this job is primary source of API coverage.
137 - csit-fail-on-crc-mismatch-parameter:
138 fail-on-crc-mismatch: 'True'
141 - gerrit-trigger-scm:
142 credentials-id: 'jenkins-gerrit-credentials'
143 refspec: '$GERRIT_REFSPEC'
144 choosing-strategy: 'gerrit'
147 - fdio-infra-wrappers:
148 build-timeout: '{build-timeout}'
154 skip-vote: '{skip-vote}'
159 - ../scripts/csit/device-verify.sh
166 - fdio-infra-shiplogs:
167 maven-version: 'mvn33-new'
170 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly'
175 <li>Validate latest vpp build from corresponding branch stored
176 in nexus against verified CSIT codebase of corresponding
183 <li>test-cases selection
185 <li>pre-selected test-cases
186 <li>all test-cases are labelled with CSIT RF topic tags
187 defined in <i>csit/docs/tag_documentation.rst</i>
189 <li>default tags for vpp-device test type
195 <li>jjb verify: PASS/FAIL
201 project-type: freestyle
204 archive-artifacts: 'csit/archive/*.*'
208 daysToKeep: '{build-days-to-keep}'
209 numToKeep: '{build-num-to-keep}'
210 artifactDaysToKeep: '{build-artifact-days-to-keep}'
211 artifactNumToKeep: '{build-artifact-num-to-keep}'
221 name: ARCHIVE_ARTIFACTS
222 default: '{archive-artifacts}'
223 description: Artifacts to archive to the logs server.
226 - fdio-infra-wrappers-non-activity-timeout:
227 build-timeout: '{build-timeout}'
230 - timed: '0 4 * * 2,6'
232 - gerrit-trigger-manually-triggered:
233 comment-trigger-value: 'csit-verify-vpp'
238 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
240 properties-file: variables.prop
243 - ../scripts/csit/device-semiweekly.sh
247 output-path: 'csit/archive'
250 - fdio-infra-shiplogs:
251 maven-version: 'mvn33-new'
254 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly'
259 <li>Validate CSIT code of corresponding branch against
260 verified vpp build from corresponding branch.
266 <li>test-cases selection
268 <li>pre-selected test-cases
269 <li>all test-cases are labelled with CSIT RF topic tags
270 defined in <i>csit/docs/tag_documentation.rst</i>
272 <li>default tags for vpp-device test type
278 <li>jjb verify: PASS/FAIL
284 project-type: freestyle
287 archive-artifacts: 'archive/*.*'
291 daysToKeep: '{build-days-to-keep}'
292 numToKeep: '{build-num-to-keep}'
293 artifactDaysToKeep: '{build-artifact-days-to-keep}'
294 artifactNumToKeep: '{build-artifact-num-to-keep}'
304 name: ARCHIVE_ARTIFACTS
305 default: '{archive-artifacts}'
306 description: Artifacts to archive to the logs server.
310 credentials-id: 'jenkins-gerrit-credentials'
314 - fdio-infra-wrappers-non-activity-timeout:
315 build-timeout: '{build-timeout}'
320 - gerrit-trigger-manually-triggered:
321 comment-trigger-value: 'csit-vpp-ref-verify'
328 - ../scripts/csit/device-verify.sh
335 - fdio-infra-shiplogs:
336 maven-version: 'mvn33-new'
339 name: 'csit-vpp-device-master-{os}-1n-tx2-csit-verify-hourly'
344 <li>Validate CSIT code of corresponding branch against
345 verified vpp build from corresponding branch.
349 <li>vpp-csit-arm-ubuntu18
351 <li>test-cases selection
353 <li>pre-selected test-cases
354 <li>all test-cases are labelled with CSIT RF topic tags
355 defined in <i>csit/docs/tag_documentation.rst</i>
357 <li>default tags for vpp-device test type
363 <li>jjb verify: PASS/FAIL
369 project-type: freestyle
370 node: 'vpp-csit-arm-ubuntu18'
372 archive-artifacts: 'archive/*.*'
376 daysToKeep: '{build-days-to-keep}'
377 numToKeep: '{build-num-to-keep}'
378 artifactDaysToKeep: '{build-artifact-days-to-keep}'
379 artifactNumToKeep: '{build-artifact-num-to-keep}'
389 name: ARCHIVE_ARTIFACTS
390 default: '{archive-artifacts}'
391 description: Artifacts to archive to the logs server.
395 credentials-id: 'jenkins-gerrit-credentials'
399 - fdio-infra-wrappers-non-activity-timeout:
400 build-timeout: '{build-timeout}'
408 - ../scripts/csit/device-verify.sh
415 - fdio-infra-shiplogs:
416 maven-version: 'mvn33-new'
419 name: 'csit-vpp-device-master-{os}-1n-tx2-vpp-verify-hourly'
424 <li>Validate latest vpp build from corresponding branch stored
425 in nexus against verified CSIT codebase of corresponding
430 <li>vpp-csit-arm-ubuntu18
432 <li>test-cases selection
434 <li>pre-selected test-cases
435 <li>all test-cases are labelled with CSIT RF topic tags
436 defined in <i>csit/docs/tag_documentation.rst</i>
438 <li>default tags for vpp-device test type
444 <li>jjb verify: PASS/FAIL
450 project-type: freestyle
451 node: 'vpp-csit-arm-ubuntu18'
453 archive-artifacts: 'csit/archive/*.*'
457 daysToKeep: '{build-days-to-keep}'
458 numToKeep: '{build-num-to-keep}'
459 artifactDaysToKeep: '{build-artifact-days-to-keep}'
460 artifactNumToKeep: '{build-artifact-num-to-keep}'
470 name: ARCHIVE_ARTIFACTS
471 default: '{archive-artifacts}'
472 description: Artifacts to archive to the logs server.
475 - fdio-infra-wrappers-non-activity-timeout:
476 build-timeout: '{build-timeout}'
479 - timed: '30 * * * *'
482 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
484 properties-file: variables.prop
487 - ../scripts/csit/device-semiweekly.sh
491 output-path: 'csit/archive'
494 - fdio-infra-shiplogs:
495 maven-version: 'mvn33-new'