1 # Copyright (c) 2019 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'
25 trigger: 'gerrit-trigger-csit-vpp-devicetest-manual'
27 - 'csit-vpp-device-{stream}-{os}-{node-arch}'
28 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
29 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
30 - 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
31 - 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
34 executor: 'vpp-csit-device'
37 trigger: 'gerrit-trigger-csit-vpp-devicetest-full'
48 branch-id: 'oper-rls1901'
51 branch-id: 'oper-rls1904'
54 branch-id: 'oper-rls1908_1'
62 - stream_timed: '1908'
65 - stream_timed: 'master'
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>
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}'
147 skip-vote: '{skip-vote}'
151 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
158 - fdio-infra-shiplogs:
159 maven-version: 'mvn33-new'
162 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
167 <li>Validate latest vpp build from corresponding branch stored
168 in nexus against verified CSIT codebase of corresponding
171 <li>test-cases selection
173 <li>pre-selected test-cases
174 <li>all test-cases are labelled with CSIT RF topic tags
175 defined in <i>csit/docs/tag_documentation.rst</i>
177 <li>default tags for vpp-device test type
183 <li>jjb verify: PASS/FAIL
189 project-type: freestyle
192 archive-artifacts: 'csit/archive/*.*'
196 daysToKeep: '{build-days-to-keep}'
197 numToKeep: '{build-num-to-keep}'
198 artifactDaysToKeep: '{build-artifact-days-to-keep}'
199 artifactNumToKeep: '{build-artifact-num-to-keep}'
209 name: ARCHIVE_ARTIFACTS
210 default: '{archive-artifacts}'
211 description: Artifacts to archive to the logs server.
214 - fdio-infra-wrappers-non-activity-timeout:
215 build-timeout: '{build-timeout}'
218 - timed: '0 4 * * 2,6'
220 - gerrit-trigger-manually-triggered:
221 comment-trigger-value: 'csit-verify-vpp'
226 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
228 properties-file: variables.prop
230 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
234 output-path: 'csit/archive'
237 - fdio-infra-shiplogs:
238 maven-version: 'mvn33-new'
241 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
246 <li>Validate CSIT code of corresponding branch against
247 verified vpp build from corresponding branch.
249 <li>test-cases selection
251 <li>pre-selected test-cases
252 <li>all test-cases are labelled with CSIT RF topic tags
253 defined in <i>csit/docs/tag_documentation.rst</i>
255 <li>default tags for vpp-device test type
261 <li>jjb verify: PASS/FAIL
267 project-type: freestyle
270 archive-artifacts: 'archive/*.*'
274 daysToKeep: '{build-days-to-keep}'
275 numToKeep: '{build-num-to-keep}'
276 artifactDaysToKeep: '{build-artifact-days-to-keep}'
277 artifactNumToKeep: '{build-artifact-num-to-keep}'
287 name: ARCHIVE_ARTIFACTS
288 default: '{archive-artifacts}'
289 description: Artifacts to archive to the logs server.
293 credentials-id: 'jenkins-gerrit-credentials'
297 - fdio-infra-wrappers-non-activity-timeout:
298 build-timeout: '{build-timeout}'
303 - gerrit-trigger-manually-triggered:
304 comment-trigger-value: 'csit-vpp-ref-verify'
310 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
317 - fdio-infra-shiplogs:
318 maven-version: 'mvn33-new'
321 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
326 <li>Validate CSIT code of corresponding branch against
327 verified vpp build from corresponding branch.
329 <li>test-cases selection
331 <li>pre-selected test-cases
332 <li>all test-cases are labelled with CSIT RF topic tags
333 defined in <i>csit/docs/tag_documentation.rst</i>
335 <li>default tags for vpp-device test type
341 <li>jjb verify: PASS/FAIL
347 project-type: freestyle
348 node: 'vpp-csit-arm-ubuntu18'
350 archive-artifacts: 'archive/*.*'
354 daysToKeep: '{build-days-to-keep}'
355 numToKeep: '{build-num-to-keep}'
356 artifactDaysToKeep: '{build-artifact-days-to-keep}'
357 artifactNumToKeep: '{build-artifact-num-to-keep}'
367 name: ARCHIVE_ARTIFACTS
368 default: '{archive-artifacts}'
369 description: Artifacts to archive to the logs server.
373 credentials-id: 'jenkins-gerrit-credentials'
377 - fdio-infra-wrappers-non-activity-timeout:
378 build-timeout: '{build-timeout}'
385 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
392 - fdio-infra-shiplogs:
393 maven-version: 'mvn33-new'
396 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
401 <li>Validate latest vpp build from corresponding branch stored
402 in nexus against verified CSIT codebase of corresponding
405 <li>test-cases selection
407 <li>pre-selected test-cases
408 <li>all test-cases are labelled with CSIT RF topic tags
409 defined in <i>csit/docs/tag_documentation.rst</i>
411 <li>default tags for vpp-device test type
417 <li>jjb verify: PASS/FAIL
423 project-type: freestyle
424 node: 'vpp-csit-arm-ubuntu18'
426 archive-artifacts: 'csit/archive/*.*'
430 daysToKeep: '{build-days-to-keep}'
431 numToKeep: '{build-num-to-keep}'
432 artifactDaysToKeep: '{build-artifact-days-to-keep}'
433 artifactNumToKeep: '{build-artifact-num-to-keep}'
443 name: ARCHIVE_ARTIFACTS
444 default: '{archive-artifacts}'
445 description: Artifacts to archive to the logs server.
448 - fdio-infra-wrappers-non-activity-timeout:
449 build-timeout: '{build-timeout}'
452 - timed: '30 * * * *'
455 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
457 properties-file: variables.prop
459 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
463 output-path: 'csit/archive'
466 - fdio-infra-shiplogs:
467 maven-version: 'mvn33-new'