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'
44 branch-id: 'oper-rls1908'
51 branch-id: 'oper-rls1901'
54 branch-id: 'oper-rls1904'
57 branch-id: 'oper-rls1908'
65 - stream_timed: '1908'
68 - stream_timed: 'master'
73 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
78 <li>vpp-device verify - per csit gerrit patch
82 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
83 <li>trigger: keyword in comment to csit patch:
84 <b>csit-devicetest tag_list</b>
86 <li>test-cases selection
88 <li>test-cases selected using trigger keyword followed by tags
89 <li>all test-cases are labelled with CSIT RF topic tags
90 defined in <i>csit/docs/tag_documentation.rst</i>
92 <li>default tags for vpp-device test type
98 <li>jjb verify: PASS/FAIL
104 project-type: freestyle
107 archive-artifacts: 'archive/*.*'
111 daysToKeep: '{build-days-to-keep}'
112 numToKeep: '{build-num-to-keep}'
113 artifactDaysToKeep: '{build-artifact-days-to-keep}'
114 artifactNumToKeep: '{build-artifact-num-to-keep}'
123 - gerrit-refspec-parameter
124 - gerrit-event-type-parameter
125 - gerrit-event-comment-text-parameter
127 name: ARCHIVE_ARTIFACTS
128 default: '{archive-artifacts}'
129 description: Artifacts to archive to the logs server.
132 - gerrit-trigger-scm:
133 credentials-id: 'jenkins-gerrit-credentials'
134 refspec: '$GERRIT_REFSPEC'
135 choosing-strategy: 'gerrit'
138 - fdio-infra-wrappers:
139 build-timeout: '{build-timeout}'
145 skip-vote: '{skip-vote}'
149 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
156 - fdio-infra-shiplogs:
157 maven-version: 'mvn33-new'
160 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
165 <li>Validate latest vpp build from corresponding branch stored
166 in nexus against verified CSIT codebase of corresponding
169 <li>test-cases selection
171 <li>pre-selected test-cases
172 <li>all test-cases are labelled with CSIT RF topic tags
173 defined in <i>csit/docs/tag_documentation.rst</i>
175 <li>default tags for vpp-device test type
181 <li>jjb verify: PASS/FAIL
187 project-type: freestyle
190 archive-artifacts: 'csit/archive/*.*'
194 daysToKeep: '{build-days-to-keep}'
195 numToKeep: '{build-num-to-keep}'
196 artifactDaysToKeep: '{build-artifact-days-to-keep}'
197 artifactNumToKeep: '{build-artifact-num-to-keep}'
207 name: ARCHIVE_ARTIFACTS
208 default: '{archive-artifacts}'
209 description: Artifacts to archive to the logs server.
212 - fdio-infra-wrappers-non-activity-timeout:
213 build-timeout: '{build-timeout}'
216 - timed: '0 4 * * 2,6'
218 - gerrit-trigger-manually-triggered:
219 comment-trigger-value: 'csit-verify-vpp'
224 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
226 properties-file: variables.prop
228 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
232 output-path: 'csit/archive'
235 - fdio-infra-shiplogs:
236 maven-version: 'mvn33-new'
239 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
244 <li>Validate CSIT code of corresponding branch against
245 verified vpp build from corresponding branch.
247 <li>test-cases selection
249 <li>pre-selected test-cases
250 <li>all test-cases are labelled with CSIT RF topic tags
251 defined in <i>csit/docs/tag_documentation.rst</i>
253 <li>default tags for vpp-device test type
259 <li>jjb verify: PASS/FAIL
265 project-type: freestyle
268 archive-artifacts: 'archive/*.*'
272 daysToKeep: '{build-days-to-keep}'
273 numToKeep: '{build-num-to-keep}'
274 artifactDaysToKeep: '{build-artifact-days-to-keep}'
275 artifactNumToKeep: '{build-artifact-num-to-keep}'
285 name: ARCHIVE_ARTIFACTS
286 default: '{archive-artifacts}'
287 description: Artifacts to archive to the logs server.
291 credentials-id: 'jenkins-gerrit-credentials'
295 - fdio-infra-wrappers-non-activity-timeout:
296 build-timeout: '{build-timeout}'
301 - gerrit-trigger-manually-triggered:
302 comment-trigger-value: 'csit-vpp-ref-verify'
308 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
315 - fdio-infra-shiplogs:
316 maven-version: 'mvn33-new'
319 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-csit-verify-hourly'
324 <li>Validate CSIT code of corresponding branch against
325 verified vpp build from corresponding branch.
327 <li>test-cases selection
329 <li>pre-selected test-cases
330 <li>all test-cases are labelled with CSIT RF topic tags
331 defined in <i>csit/docs/tag_documentation.rst</i>
333 <li>default tags for vpp-device test type
339 <li>jjb verify: PASS/FAIL
345 project-type: freestyle
346 node: 'vpp-csit-arm-ubuntu18'
348 archive-artifacts: 'archive/*.*'
352 daysToKeep: '{build-days-to-keep}'
353 numToKeep: '{build-num-to-keep}'
354 artifactDaysToKeep: '{build-artifact-days-to-keep}'
355 artifactNumToKeep: '{build-artifact-num-to-keep}'
365 name: ARCHIVE_ARTIFACTS
366 default: '{archive-artifacts}'
367 description: Artifacts to archive to the logs server.
371 credentials-id: 'jenkins-gerrit-credentials'
375 - fdio-infra-wrappers-non-activity-timeout:
376 build-timeout: '{build-timeout}'
383 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
390 - fdio-infra-shiplogs:
391 maven-version: 'mvn33-new'
394 name: 'csit-vpp-device-master-ubuntu1804-1n-tx2-vpp-verify-hourly'
399 <li>Validate latest vpp build from corresponding branch stored
400 in nexus against verified CSIT codebase of corresponding
403 <li>test-cases selection
405 <li>pre-selected test-cases
406 <li>all test-cases are labelled with CSIT RF topic tags
407 defined in <i>csit/docs/tag_documentation.rst</i>
409 <li>default tags for vpp-device test type
415 <li>jjb verify: PASS/FAIL
421 project-type: freestyle
422 node: 'vpp-csit-arm-ubuntu18'
424 archive-artifacts: 'csit/archive/*.*'
428 daysToKeep: '{build-days-to-keep}'
429 numToKeep: '{build-num-to-keep}'
430 artifactDaysToKeep: '{build-artifact-days-to-keep}'
431 artifactNumToKeep: '{build-artifact-num-to-keep}'
441 name: ARCHIVE_ARTIFACTS
442 default: '{archive-artifacts}'
443 description: Artifacts to archive to the logs server.
446 - fdio-infra-wrappers-non-activity-timeout:
447 build-timeout: '{build-timeout}'
450 - timed: '30 * * * *'
453 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
455 properties-file: variables.prop
457 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
461 output-path: 'csit/archive'
464 - fdio-infra-shiplogs:
465 maven-version: 'mvn33-new'