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 - 'csit-vpp-device-{stream}-{os}-{node-arch}'
24 - 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly':
31 branch-id: 'oper-rls1908_2'
34 branch-id: 'oper-rls2009'
35 - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
42 branch-id: 'oper-rls1908_2'
45 branch-id: 'oper-rls2009'
48 executor: 'vpp-csit-device'
51 trigger: 'gerrit-trigger-csit-vpp-devicetest-full'
58 branch-id: 'oper-rls1908_2'
61 branch-id: 'oper-rls2005'
64 branch-id: 'oper-rls2009'
67 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
72 <li>vpp-device verify - per csit gerrit patch
76 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
77 <li>trigger: keyword in comment to csit patch:
78 <b>csit-devicetest tag_list</b>
84 <li>test-cases selection
86 <li>test-cases selected using trigger keyword followed by tags
87 <li>all test-cases are labelled with CSIT RF topic tags
88 defined in <i>csit/docs/tag_documentation.rst</i>
90 <li>default tags for vpp-device test type
96 <li>jjb verify: PASS/FAIL
102 project-type: freestyle
105 archive-artifacts: 'archive/*.*'
109 daysToKeep: '{build-days-to-keep}'
110 numToKeep: '{build-num-to-keep}'
111 artifactDaysToKeep: '{build-artifact-days-to-keep}'
112 artifactNumToKeep: '{build-artifact-num-to-keep}'
121 - gerrit-refspec-parameter
122 - gerrit-event-type-parameter
123 - gerrit-event-comment-text-parameter
125 name: ARCHIVE_ARTIFACTS
126 default: '{archive-artifacts}'
127 description: Artifacts to archive to the logs server.
128 # This is an automatic verify job, part of API coverage.
129 # CRC checking is needed to ensure vpp crc job breaks only when intended.
130 # Unlikely to be removed, as this job is primary source of API coverage.
131 - csit-fail-on-crc-mismatch-parameter:
132 fail-on-crc-mismatch: 'True'
135 - gerrit-trigger-scm:
136 credentials-id: 'jenkins-gerrit-credentials'
137 refspec: '$GERRIT_REFSPEC'
138 choosing-strategy: 'gerrit'
141 - fdio-infra-wrappers:
142 build-timeout: '{build-timeout}'
148 skip-vote: '{skip-vote}'
153 - ../scripts/setup_executor_env.sh
156 - ../scripts/csit/device-verify.sh
163 - fdio-infra-shiplogs:
164 maven-version: 'mvn33-new'
167 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly'
172 <li>Validate latest vpp build from corresponding branch stored
173 in nexus against verified CSIT codebase of corresponding
180 <li>test-cases selection
182 <li>pre-selected test-cases
183 <li>all test-cases are labelled with CSIT RF topic tags
184 defined in <i>csit/docs/tag_documentation.rst</i>
186 <li>default tags for vpp-device test type
192 <li>jjb verify: PASS/FAIL
198 project-type: freestyle
201 archive-artifacts: 'csit/archive/*.*'
205 daysToKeep: '{build-days-to-keep}'
206 numToKeep: '{build-num-to-keep}'
207 artifactDaysToKeep: '{build-artifact-days-to-keep}'
208 artifactNumToKeep: '{build-artifact-num-to-keep}'
218 name: ARCHIVE_ARTIFACTS
219 default: '{archive-artifacts}'
220 description: Artifacts to archive to the logs server.
223 - fdio-infra-wrappers-non-activity-timeout:
224 build-timeout: '{build-timeout}'
227 - timed: '0 4 * * 2,6'
229 - gerrit-trigger-manually-triggered:
230 comment-trigger-value: 'csit-verify-vpp'
235 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
237 properties-file: variables.prop
240 - ../scripts/setup_executor_env.sh
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/setup_executor_env.sh
331 - ../scripts/csit/device-verify.sh
338 - fdio-infra-shiplogs:
339 maven-version: 'mvn33-new'