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-rls1908_2'
37 branch-id: 'oper-rls2009_lts'
38 - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
45 branch-id: 'oper-rls1908_2'
48 branch-id: 'oper-rls2009_lts'
51 executor: 'vpp-csit-device'
60 branch-id: 'oper-rls1908_2'
63 branch-id: 'oper-rls2005'
66 branch-id: 'oper-rls2009'
69 branch-id: 'oper-rls2009_lts'
77 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
82 <li>vpp-device verify - per csit gerrit patch
86 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
87 <li>trigger: keyword in comment to csit patch:
88 <b>csit-devicetest tag_list</b>
94 <li>test-cases selection
96 <li>test-cases selected using trigger keyword followed by tags
97 <li>all test-cases are labelled with CSIT RF topic tags
98 defined in <i>csit/docs/tag_documentation.rst</i>
100 <li>default tags for vpp-device test type
106 <li>jjb verify: PASS/FAIL
112 project-type: freestyle
115 archive-artifacts: 'archive/*.*'
119 daysToKeep: '{build-days-to-keep}'
120 numToKeep: '{build-num-to-keep}'
121 artifactDaysToKeep: '{build-artifact-days-to-keep}'
122 artifactNumToKeep: '{build-artifact-num-to-keep}'
131 - gerrit-refspec-parameter
132 - gerrit-event-type-parameter
133 - gerrit-event-comment-text-parameter
135 name: ARCHIVE_ARTIFACTS
136 default: '{archive-artifacts}'
137 description: Artifacts to archive to the logs server.
138 # This is an automatic verify job, part of API coverage.
139 # CRC checking is needed to ensure vpp crc job breaks only when intended.
140 # Unlikely to be removed, as this job is primary source of API coverage.
141 - csit-fail-on-crc-mismatch-parameter:
142 fail-on-crc-mismatch: 'True'
145 - gerrit-trigger-scm:
146 credentials-id: 'jenkins-gerrit-credentials'
147 refspec: '$GERRIT_REFSPEC'
148 choosing-strategy: 'gerrit'
151 - fdio-infra-wrappers:
152 build-timeout: '{build-timeout}'
155 - 'gerrit-trigger-csit-vpp-devicetest-full':
158 skip-vote: '{skip-vote}'
163 - ../scripts/setup_executor_env.sh
166 - ../scripts/csit/device-verify.sh
173 - fdio-infra-shiplogs:
174 maven-version: 'mvn33-new'
177 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly'
182 <li>Validate latest vpp build from corresponding branch stored
183 in nexus against verified CSIT codebase of corresponding
190 <li>test-cases selection
192 <li>pre-selected test-cases
193 <li>all test-cases are labelled with CSIT RF topic tags
194 defined in <i>csit/docs/tag_documentation.rst</i>
196 <li>default tags for vpp-device test type
202 <li>jjb verify: PASS/FAIL
208 project-type: freestyle
211 archive-artifacts: 'csit/archive/*.*'
215 daysToKeep: '{build-days-to-keep}'
216 numToKeep: '{build-num-to-keep}'
217 artifactDaysToKeep: '{build-artifact-days-to-keep}'
218 artifactNumToKeep: '{build-artifact-num-to-keep}'
228 name: ARCHIVE_ARTIFACTS
229 default: '{archive-artifacts}'
230 description: Artifacts to archive to the logs server.
233 - fdio-infra-wrappers-non-activity-timeout:
234 build-timeout: '{build-timeout}'
237 - timed: '0 4 * * 2,6'
239 - gerrit-trigger-manually-triggered:
240 comment-trigger-value: 'csit-verify-vpp'
245 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
247 properties-file: variables.prop
250 - ../scripts/setup_executor_env.sh
253 - ../scripts/csit/device-semiweekly.sh
257 output-path: 'csit/archive'
260 - fdio-infra-shiplogs:
261 maven-version: 'mvn33-new'
264 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly'
269 <li>Validate CSIT code of corresponding branch against
270 verified vpp build from corresponding branch.
276 <li>test-cases selection
278 <li>pre-selected test-cases
279 <li>all test-cases are labelled with CSIT RF topic tags
280 defined in <i>csit/docs/tag_documentation.rst</i>
282 <li>default tags for vpp-device test type
288 <li>jjb verify: PASS/FAIL
294 project-type: freestyle
297 archive-artifacts: 'archive/*.*'
301 daysToKeep: '{build-days-to-keep}'
302 numToKeep: '{build-num-to-keep}'
303 artifactDaysToKeep: '{build-artifact-days-to-keep}'
304 artifactNumToKeep: '{build-artifact-num-to-keep}'
314 name: ARCHIVE_ARTIFACTS
315 default: '{archive-artifacts}'
316 description: Artifacts to archive to the logs server.
320 credentials-id: 'jenkins-gerrit-credentials'
324 - fdio-infra-wrappers-non-activity-timeout:
325 build-timeout: '{build-timeout}'
330 - gerrit-trigger-manually-triggered:
331 comment-trigger-value: 'csit-vpp-ref-verify'
338 - ../scripts/setup_executor_env.sh
341 - ../scripts/csit/device-verify.sh
348 - fdio-infra-shiplogs:
349 maven-version: 'mvn33-new'