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'
26 - 'csit-vpp-device-{stream}-{os}-{node-arch}'
27 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
28 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
31 executor: 'vpp-csit-device'
40 branch-id: 'oper-rls1904'
47 branch-id: 'oper-rls1810'
50 branch-id: 'oper-rls1901'
53 branch-id: 'oper-rls1904'
64 - stream_timed: '1904'
69 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
74 <li>vpp-device verify - per csit gerrit patch
78 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
79 <li>trigger: keyword in comment to csit patch:
80 <b>csit-devicetest tag_list</b>
82 <li>test-cases selection
84 <li>test-cases selected using trigger keyword followed by tags
85 <li>all test-cases are labelled with CSIT RF topic tags
86 defined in <i>csit/docs/tag_documentation.rst</i>
88 <li>default tags for vpp-device test type
94 <li>jjb verify: PASS/FAIL
100 project-type: freestyle
103 archive-artifacts: 'archive/*.*'
107 daysToKeep: '{build-days-to-keep}'
108 numToKeep: '{build-num-to-keep}'
109 artifactDaysToKeep: '{build-artifact-days-to-keep}'
110 artifactNumToKeep: '{build-artifact-num-to-keep}'
119 - gerrit-refspec-parameter
120 - gerrit-event-type-parameter
121 - gerrit-event-comment-text-parameter
123 name: ARCHIVE_ARTIFACTS
124 default: '{archive-artifacts}'
125 description: Artifacts to archive to the logs server.
128 - gerrit-trigger-scm:
129 credentials-id: 'jenkins-gerrit-credentials'
130 refspec: '$GERRIT_REFSPEC'
131 choosing-strategy: 'gerrit'
134 - fdio-infra-wrappers:
135 build-timeout: '{build-timeout}'
139 server-name: 'Primary'
141 - patchset-created-event:
142 exclude-drafts: 'true'
143 exclude-trivial-rebase: 'false'
144 exclude-no-code-change: 'false'
145 - draft-published-event
146 - comment-added-contains-event:
147 comment-contains-value: 'recheck'
148 - comment-added-contains-event:
149 comment-contains-value: 'reverify'
150 - comment-added-contains-event:
151 comment-contains-value: 'csit-devicetest'
153 - project-compare-type: 'ANT'
154 project-pattern: '{project}'
156 - branch-compare-type: 'ANT'
157 branch-pattern: '**/{branch}'
159 successful: '{skip-vote}'
160 failed: '{skip-vote}'
161 unstable: '{skip-vote}'
162 notbuilt: '{skip-vote}'
166 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
173 - fdio-infra-shiplogs:
174 maven-version: 'mvn33-new'
177 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
182 <li>Validate latest vpp build from corresponding branch stored
183 in nexus against verified CSIT codebase of corresponding
186 <li>test-cases selection
188 <li>pre-selected test-cases
189 <li>all test-cases are labelled with CSIT RF topic tags
190 defined in <i>csit/docs/tag_documentation.rst</i>
192 <li>default tags for vpp-device test type
198 <li>jjb verify: PASS/FAIL
204 project-type: freestyle
207 archive-artifacts: 'csit/archive/*.*'
211 daysToKeep: '{build-days-to-keep}'
212 numToKeep: '{build-num-to-keep}'
213 artifactDaysToKeep: '{build-artifact-days-to-keep}'
214 artifactNumToKeep: '{build-artifact-num-to-keep}'
224 name: ARCHIVE_ARTIFACTS
225 default: '{archive-artifacts}'
226 description: Artifacts to archive to the logs server.
229 - fdio-infra-wrappers-non-activity-timeout:
230 build-timeout: '{build-timeout}'
233 - timed: '0 4 * * 2,6'
235 - gerrit-trigger-manually-triggered:
236 comment-trigger-value: 'csit-verify-vpp'
241 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
243 properties-file: variables.prop
245 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
249 output-path: 'csit/archive'
252 - fdio-infra-shiplogs:
253 maven-version: 'mvn33-new'
256 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
261 <li>Validate CSIT code of corresponding branch against
262 verified vpp build from corresponding branch.
264 <li>test-cases selection
266 <li>pre-selected test-cases
267 <li>all test-cases are labelled with CSIT RF topic tags
268 defined in <i>csit/docs/tag_documentation.rst</i>
270 <li>default tags for vpp-device test type
276 <li>jjb verify: PASS/FAIL
282 project-type: freestyle
285 archive-artifacts: 'archive/*.*'
289 daysToKeep: '{build-days-to-keep}'
290 numToKeep: '{build-num-to-keep}'
291 artifactDaysToKeep: '{build-artifact-days-to-keep}'
292 artifactNumToKeep: '{build-artifact-num-to-keep}'
302 name: ARCHIVE_ARTIFACTS
303 default: '{archive-artifacts}'
304 description: Artifacts to archive to the logs server.
308 credentials-id: 'jenkins-gerrit-credentials'
312 - fdio-infra-wrappers-non-activity-timeout:
313 build-timeout: '{build-timeout}'
318 - gerrit-trigger-manually-triggered:
319 comment-trigger-value: 'csit-vpp-ref-verify'
325 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
332 - fdio-infra-shiplogs:
333 maven-version: 'mvn33-new'