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'
35 - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
42 branch-id: 'oper-rls2009_lts'
45 executor: 'vpp-csit-device'
54 branch-id: 'oper-rls2005'
57 branch-id: 'oper-rls2009'
60 branch-id: 'oper-rls2009_lts'
66 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
71 <li>vpp-device verify - per csit gerrit patch
75 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
76 <li>trigger: keyword in comment to csit patch:
77 <b>csit-devicetest tag_list</b>
83 <li>test-cases selection
85 <li>test-cases selected using trigger keyword followed by tags
86 <li>all test-cases are labelled with CSIT RF topic tags
87 defined in <i>csit/docs/tag_documentation.rst</i>
89 <li>default tags for vpp-device test type
95 <li>jjb verify: PASS/FAIL
101 project-type: freestyle
104 archive-artifacts: 'archive/*.*'
108 daysToKeep: '{build-days-to-keep}'
109 numToKeep: '{build-num-to-keep}'
110 artifactDaysToKeep: '{build-artifact-days-to-keep}'
111 artifactNumToKeep: '{build-artifact-num-to-keep}'
120 - gerrit-refspec-parameter
121 - gerrit-event-type-parameter
122 - gerrit-event-comment-text-parameter
124 name: ARCHIVE_ARTIFACTS
125 default: '{archive-artifacts}'
126 description: Artifacts to archive to the logs server.
127 # This is an automatic verify job, part of API coverage.
128 # CRC checking is needed to ensure vpp crc job breaks only when intended.
129 # Unlikely to be removed, as this job is primary source of API coverage.
130 - csit-fail-on-crc-mismatch-parameter:
131 fail-on-crc-mismatch: 'True'
134 - gerrit-trigger-scm:
135 credentials-id: 'jenkins-gerrit-credentials'
136 refspec: '$GERRIT_REFSPEC'
137 choosing-strategy: 'gerrit'
140 - fdio-infra-wrappers:
141 build-timeout: '{build-timeout}'
144 - 'gerrit-trigger-csit-vpp-devicetest-full':
147 skip-vote: '{skip-vote}'
152 - ../scripts/setup_executor_env.sh
155 - ../scripts/csit/device-verify.sh
159 output-path: 'archives'
162 - fdio-infra-shiplogs:
163 maven-version: 'mvn33-new'
166 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly'
171 <li>Validate latest vpp build from corresponding branch stored
172 in nexus against verified CSIT codebase of corresponding
179 <li>test-cases selection
181 <li>pre-selected test-cases
182 <li>all test-cases are labelled with CSIT RF topic tags
183 defined in <i>csit/docs/tag_documentation.rst</i>
185 <li>default tags for vpp-device test type
191 <li>jjb verify: PASS/FAIL
197 project-type: freestyle
200 archive-artifacts: 'csit/archive/*.*'
204 daysToKeep: '{build-days-to-keep}'
205 numToKeep: '{build-num-to-keep}'
206 artifactDaysToKeep: '{build-artifact-days-to-keep}'
207 artifactNumToKeep: '{build-artifact-num-to-keep}'
217 name: ARCHIVE_ARTIFACTS
218 default: '{archive-artifacts}'
219 description: Artifacts to archive to the logs server.
222 - fdio-infra-wrappers-non-activity-timeout:
223 build-timeout: '{build-timeout}'
226 - timed: '0 4 * * 2,6'
228 - gerrit-trigger-manually-triggered:
229 comment-trigger-value: 'csit-verify-vpp'
234 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
236 properties-file: variables.prop
239 - ../scripts/setup_executor_env.sh
242 - ../scripts/csit/device-semiweekly.sh
246 output-path: 'archives'
249 - fdio-infra-shiplogs:
250 maven-version: 'mvn33-new'
253 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly'
258 <li>Validate CSIT code of corresponding branch against
259 verified vpp build from corresponding branch.
265 <li>test-cases selection
267 <li>pre-selected test-cases
268 <li>all test-cases are labelled with CSIT RF topic tags
269 defined in <i>csit/docs/tag_documentation.rst</i>
271 <li>default tags for vpp-device test type
277 <li>jjb verify: PASS/FAIL
283 project-type: freestyle
286 archive-artifacts: 'archive/*.*'
290 daysToKeep: '{build-days-to-keep}'
291 numToKeep: '{build-num-to-keep}'
292 artifactDaysToKeep: '{build-artifact-days-to-keep}'
293 artifactNumToKeep: '{build-artifact-num-to-keep}'
303 name: ARCHIVE_ARTIFACTS
304 default: '{archive-artifacts}'
305 description: Artifacts to archive to the logs server.
309 credentials-id: 'jenkins-gerrit-credentials'
313 - fdio-infra-wrappers-non-activity-timeout:
314 build-timeout: '{build-timeout}'
319 - gerrit-trigger-manually-triggered:
320 comment-trigger-value: 'csit-vpp-ref-verify'
327 - ../scripts/setup_executor_env.sh
330 - ../scripts/csit/device-verify.sh
334 output-path: 'archives'
337 - fdio-infra-shiplogs:
338 maven-version: 'mvn33-new'