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-rls1908'
48 branch-id: 'oper-rls1901'
51 branch-id: 'oper-rls1904'
54 branch-id: 'oper-rls1908'
64 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
69 <li>vpp-device verify - per csit gerrit patch
73 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
74 <li>trigger: keyword in comment to csit patch:
75 <b>csit-devicetest tag_list</b>
77 <li>test-cases selection
79 <li>test-cases selected using trigger keyword followed by tags
80 <li>all test-cases are labelled with CSIT RF topic tags
81 defined in <i>csit/docs/tag_documentation.rst</i>
83 <li>default tags for vpp-device test type
89 <li>jjb verify: PASS/FAIL
95 project-type: freestyle
98 archive-artifacts: 'archive/*.*'
102 daysToKeep: '{build-days-to-keep}'
103 numToKeep: '{build-num-to-keep}'
104 artifactDaysToKeep: '{build-artifact-days-to-keep}'
105 artifactNumToKeep: '{build-artifact-num-to-keep}'
114 - gerrit-refspec-parameter
115 - gerrit-event-type-parameter
116 - gerrit-event-comment-text-parameter
118 name: ARCHIVE_ARTIFACTS
119 default: '{archive-artifacts}'
120 description: Artifacts to archive to the logs server.
123 - gerrit-trigger-scm:
124 credentials-id: 'jenkins-gerrit-credentials'
125 refspec: '$GERRIT_REFSPEC'
126 choosing-strategy: 'gerrit'
129 - fdio-infra-wrappers:
130 build-timeout: '{build-timeout}'
134 server-name: 'Primary'
136 - patchset-created-event:
137 exclude-drafts: 'true'
138 exclude-trivial-rebase: 'false'
139 exclude-no-code-change: 'false'
140 - draft-published-event
141 - comment-added-contains-event:
142 comment-contains-value: 'recheck'
143 - comment-added-contains-event:
144 comment-contains-value: 'reverify'
145 - comment-added-contains-event:
146 comment-contains-value: 'csit-devicetest'
148 - project-compare-type: 'ANT'
149 project-pattern: '{project}'
151 - branch-compare-type: 'ANT'
152 branch-pattern: '**/{branch}'
154 successful: '{skip-vote}'
155 failed: '{skip-vote}'
156 unstable: '{skip-vote}'
157 notbuilt: '{skip-vote}'
161 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
168 - fdio-infra-shiplogs:
169 maven-version: 'mvn33-new'
172 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
177 <li>Validate latest vpp build from corresponding branch stored
178 in nexus against verified CSIT codebase of corresponding
181 <li>test-cases selection
183 <li>pre-selected test-cases
184 <li>all test-cases are labelled with CSIT RF topic tags
185 defined in <i>csit/docs/tag_documentation.rst</i>
187 <li>default tags for vpp-device test type
193 <li>jjb verify: PASS/FAIL
199 project-type: freestyle
202 archive-artifacts: 'csit/archive/*.*'
206 daysToKeep: '{build-days-to-keep}'
207 numToKeep: '{build-num-to-keep}'
208 artifactDaysToKeep: '{build-artifact-days-to-keep}'
209 artifactNumToKeep: '{build-artifact-num-to-keep}'
219 name: ARCHIVE_ARTIFACTS
220 default: '{archive-artifacts}'
221 description: Artifacts to archive to the logs server.
224 - fdio-infra-wrappers-non-activity-timeout:
225 build-timeout: '{build-timeout}'
228 - timed: '0 4 * * 2,6'
230 - gerrit-trigger-manually-triggered:
231 comment-trigger-value: 'csit-verify-vpp'
236 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
238 properties-file: variables.prop
240 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
244 output-path: 'csit/archive'
247 - fdio-infra-shiplogs:
248 maven-version: 'mvn33-new'
251 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
256 <li>Validate CSIT code of corresponding branch against
257 verified vpp build from corresponding branch.
259 <li>test-cases selection
261 <li>pre-selected test-cases
262 <li>all test-cases are labelled with CSIT RF topic tags
263 defined in <i>csit/docs/tag_documentation.rst</i>
265 <li>default tags for vpp-device test type
271 <li>jjb verify: PASS/FAIL
277 project-type: freestyle
280 archive-artifacts: 'archive/*.*'
284 daysToKeep: '{build-days-to-keep}'
285 numToKeep: '{build-num-to-keep}'
286 artifactDaysToKeep: '{build-artifact-days-to-keep}'
287 artifactNumToKeep: '{build-artifact-num-to-keep}'
297 name: ARCHIVE_ARTIFACTS
298 default: '{archive-artifacts}'
299 description: Artifacts to archive to the logs server.
303 credentials-id: 'jenkins-gerrit-credentials'
307 - fdio-infra-wrappers-non-activity-timeout:
308 build-timeout: '{build-timeout}'
313 - gerrit-trigger-manually-triggered:
314 comment-trigger-value: 'csit-vpp-ref-verify'
320 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
327 - fdio-infra-shiplogs:
328 maven-version: 'mvn33-new'