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.'
22 # Is there a good way to allow manual triggers for tx2?
24 # executor: 'vpp-csit-arm-ubuntu18'
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'
32 executor: 'vpp-csit-device'
41 branch-id: 'oper-rls1904'
48 branch-id: 'oper-rls1810'
51 branch-id: 'oper-rls1901'
54 branch-id: 'oper-rls1904'
65 # - stream_timed: '1904'
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.
129 - gerrit-trigger-scm:
130 credentials-id: 'jenkins-gerrit-credentials'
131 refspec: '$GERRIT_REFSPEC'
132 choosing-strategy: 'gerrit'
135 - fdio-infra-wrappers:
136 build-timeout: '{build-timeout}'
140 server-name: 'Primary'
142 - patchset-created-event:
143 exclude-drafts: 'true'
144 exclude-trivial-rebase: 'false'
145 exclude-no-code-change: 'false'
146 - draft-published-event
147 - comment-added-contains-event:
148 comment-contains-value: 'recheck'
149 - comment-added-contains-event:
150 comment-contains-value: 'reverify'
151 - comment-added-contains-event:
152 comment-contains-value: 'csit-devicetest'
154 - project-compare-type: 'ANT'
155 project-pattern: '{project}'
157 - branch-compare-type: 'ANT'
158 branch-pattern: '**/{branch}'
160 successful: '{skip-vote}'
161 failed: '{skip-vote}'
162 unstable: '{skip-vote}'
163 notbuilt: '{skip-vote}'
167 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
174 - fdio-infra-shiplogs:
175 maven-version: 'mvn33-new'
178 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
183 <li>Validate latest vpp build from corresponding branch stored
184 in nexus against verified CSIT codebase of corresponding
187 <li>test-cases selection
189 <li>pre-selected test-cases
190 <li>all test-cases are labelled with CSIT RF topic tags
191 defined in <i>csit/docs/tag_documentation.rst</i>
193 <li>default tags for vpp-device test type
199 <li>jjb verify: PASS/FAIL
205 project-type: freestyle
208 archive-artifacts: 'csit/archive/*.*'
212 daysToKeep: '{build-days-to-keep}'
213 numToKeep: '{build-num-to-keep}'
214 artifactDaysToKeep: '{build-artifact-days-to-keep}'
215 artifactNumToKeep: '{build-artifact-num-to-keep}'
225 name: ARCHIVE_ARTIFACTS
226 default: '{archive-artifacts}'
227 description: Artifacts to archive to the logs server.
230 - fdio-infra-wrappers-non-activity-timeout:
231 build-timeout: '{build-timeout}'
234 - timed: '0 4 * * 2,6'
236 - gerrit-trigger-manually-triggered:
237 comment-trigger-value: 'csit-verify-vpp'
242 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
244 properties-file: variables.prop
246 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
250 output-path: 'csit/archive'
253 - fdio-infra-shiplogs:
254 maven-version: 'mvn33-new'
257 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
262 <li>Validate CSIT code of corresponding branch against
263 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'
326 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
333 - fdio-infra-shiplogs:
334 maven-version: 'mvn33-new'