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'
26 - 'csit-vpp-device-{stream}-{os}-{node-arch}'
27 - 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly':
34 branch-id: 'oper-rls2009_lts'
37 branch-id: 'oper-rls2101'
38 - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
45 branch-id: 'oper-rls2009_lts'
48 branch-id: 'oper-rls2101'
51 executor: 'vpp-csit-device'
60 branch-id: 'oper-rls2005'
63 branch-id: 'oper-rls2009'
66 branch-id: 'oper-rls2009_lts'
69 branch-id: 'oper-rls2101'
75 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
80 <li>vpp-device verify - per csit gerrit patch
84 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
85 <li>trigger: keyword in comment to csit patch:
86 <b>csit-devicetest tag_list</b>
92 <li>test-cases selection
94 <li>test-cases selected using trigger keyword followed by tags
95 <li>all test-cases are labelled with CSIT RF topic tags
96 defined in <i>csit/docs/tag_documentation.rst</i>
98 <li>default tags for vpp-device test type
104 <li>jjb verify: PASS/FAIL
110 project-type: freestyle
113 archive-artifacts: 'archive/*.*'
117 daysToKeep: '{build-days-to-keep}'
118 numToKeep: '{build-num-to-keep}'
119 artifactDaysToKeep: '{build-artifact-days-to-keep}'
120 artifactNumToKeep: '{build-artifact-num-to-keep}'
129 - gerrit-refspec-parameter
130 - gerrit-event-type-parameter
131 - gerrit-event-comment-text-parameter
133 name: ARCHIVE_ARTIFACTS
134 default: '{archive-artifacts}'
135 description: Artifacts to archive to the logs server.
136 # This is an automatic verify job, part of API coverage.
137 # CRC checking is needed to ensure vpp crc job breaks only when intended.
138 # Unlikely to be removed, as this job is primary source of API coverage.
139 - csit-fail-on-crc-mismatch-parameter:
140 fail-on-crc-mismatch: 'True'
143 - gerrit-trigger-scm:
144 credentials-id: 'jenkins-gerrit-credentials'
145 refspec: '$GERRIT_REFSPEC'
146 choosing-strategy: 'gerrit'
149 - fdio-infra-wrappers:
150 build-timeout: '{build-timeout}'
153 - 'gerrit-trigger-csit-vpp-devicetest-full':
156 skip-vote: '{skip-vote}'
161 - ../scripts/setup_executor_env.sh
164 - ../scripts/csit/device-verify.sh
168 output-path: 'archives'
171 - fdio-infra-shiplogs:
172 maven-version: 'mvn33-new'
175 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly'
180 <li>Validate latest vpp build from corresponding branch stored
181 in nexus against verified CSIT codebase of corresponding
188 <li>test-cases selection
190 <li>pre-selected test-cases
191 <li>all test-cases are labelled with CSIT RF topic tags
192 defined in <i>csit/docs/tag_documentation.rst</i>
194 <li>default tags for vpp-device test type
200 <li>jjb verify: PASS/FAIL
206 project-type: freestyle
209 archive-artifacts: 'csit/archive/*.*'
213 daysToKeep: '{build-days-to-keep}'
214 numToKeep: '{build-num-to-keep}'
215 artifactDaysToKeep: '{build-artifact-days-to-keep}'
216 artifactNumToKeep: '{build-artifact-num-to-keep}'
226 name: ARCHIVE_ARTIFACTS
227 default: '{archive-artifacts}'
228 description: Artifacts to archive to the logs server.
231 - fdio-infra-wrappers-non-activity-timeout:
232 build-timeout: '{build-timeout}'
235 - timed: '0 4 * * 2,6'
237 - gerrit-trigger-manually-triggered:
238 comment-trigger-value: 'csit-verify-vpp'
243 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
245 properties-file: variables.prop
248 - ../scripts/setup_executor_env.sh
251 - ../scripts/csit/device-semiweekly.sh
255 output-path: 'archives'
258 - fdio-infra-shiplogs:
259 maven-version: 'mvn33-new'
262 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly'
267 <li>Validate CSIT code of corresponding branch against
268 verified vpp build from corresponding branch.
274 <li>test-cases selection
276 <li>pre-selected test-cases
277 <li>all test-cases are labelled with CSIT RF topic tags
278 defined in <i>csit/docs/tag_documentation.rst</i>
280 <li>default tags for vpp-device test type
286 <li>jjb verify: PASS/FAIL
292 project-type: freestyle
295 archive-artifacts: 'archive/*.*'
299 daysToKeep: '{build-days-to-keep}'
300 numToKeep: '{build-num-to-keep}'
301 artifactDaysToKeep: '{build-artifact-days-to-keep}'
302 artifactNumToKeep: '{build-artifact-num-to-keep}'
312 name: ARCHIVE_ARTIFACTS
313 default: '{archive-artifacts}'
314 description: Artifacts to archive to the logs server.
318 credentials-id: 'jenkins-gerrit-credentials'
322 - fdio-infra-wrappers-non-activity-timeout:
323 build-timeout: '{build-timeout}'
328 - gerrit-trigger-manually-triggered:
329 comment-trigger-value: 'csit-vpp-ref-verify'
336 - ../scripts/setup_executor_env.sh
339 - ../scripts/csit/device-verify.sh
343 output-path: 'archives'
346 - fdio-infra-shiplogs:
347 maven-version: 'mvn33-new'