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_lts'
35 - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
42 branch-id: 'oper-rls1908_2'
45 branch-id: 'oper-rls2009_lts'
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 branch-id: 'oper-rls2009_lts'
70 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
75 <li>vpp-device verify - per csit gerrit patch
79 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
80 <li>trigger: keyword in comment to csit patch:
81 <b>csit-devicetest tag_list</b>
87 <li>test-cases selection
89 <li>test-cases selected using trigger keyword followed by tags
90 <li>all test-cases are labelled with CSIT RF topic tags
91 defined in <i>csit/docs/tag_documentation.rst</i>
93 <li>default tags for vpp-device test type
99 <li>jjb verify: PASS/FAIL
105 project-type: freestyle
108 archive-artifacts: 'archive/*.*'
112 daysToKeep: '{build-days-to-keep}'
113 numToKeep: '{build-num-to-keep}'
114 artifactDaysToKeep: '{build-artifact-days-to-keep}'
115 artifactNumToKeep: '{build-artifact-num-to-keep}'
124 - gerrit-refspec-parameter
125 - gerrit-event-type-parameter
126 - gerrit-event-comment-text-parameter
128 name: ARCHIVE_ARTIFACTS
129 default: '{archive-artifacts}'
130 description: Artifacts to archive to the logs server.
131 # This is an automatic verify job, part of API coverage.
132 # CRC checking is needed to ensure vpp crc job breaks only when intended.
133 # Unlikely to be removed, as this job is primary source of API coverage.
134 - csit-fail-on-crc-mismatch-parameter:
135 fail-on-crc-mismatch: 'True'
138 - gerrit-trigger-scm:
139 credentials-id: 'jenkins-gerrit-credentials'
140 refspec: '$GERRIT_REFSPEC'
141 choosing-strategy: 'gerrit'
144 - fdio-infra-wrappers:
145 build-timeout: '{build-timeout}'
151 skip-vote: '{skip-vote}'
156 - ../scripts/setup_executor_env.sh
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/setup_executor_env.sh
246 - ../scripts/csit/device-semiweekly.sh
250 output-path: 'csit/archive'
253 - fdio-infra-shiplogs:
254 maven-version: 'mvn33-new'
257 name: 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly'
262 <li>Validate CSIT code of corresponding branch against
263 verified vpp build from corresponding branch.
269 <li>test-cases selection
271 <li>pre-selected test-cases
272 <li>all test-cases are labelled with CSIT RF topic tags
273 defined in <i>csit/docs/tag_documentation.rst</i>
275 <li>default tags for vpp-device test type
281 <li>jjb verify: PASS/FAIL
287 project-type: freestyle
290 archive-artifacts: 'archive/*.*'
294 daysToKeep: '{build-days-to-keep}'
295 numToKeep: '{build-num-to-keep}'
296 artifactDaysToKeep: '{build-artifact-days-to-keep}'
297 artifactNumToKeep: '{build-artifact-num-to-keep}'
307 name: ARCHIVE_ARTIFACTS
308 default: '{archive-artifacts}'
309 description: Artifacts to archive to the logs server.
313 credentials-id: 'jenkins-gerrit-credentials'
317 - fdio-infra-wrappers-non-activity-timeout:
318 build-timeout: '{build-timeout}'
323 - gerrit-trigger-manually-triggered:
324 comment-trigger-value: 'csit-vpp-ref-verify'
331 - ../scripts/setup_executor_env.sh
334 - ../scripts/csit/device-verify.sh
341 - fdio-infra-shiplogs:
342 maven-version: 'mvn33-new'