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 - 'csit-vpp-device-{stream}-{os}-{node-arch}'
24 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
25 - 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
35 branch-id: 'oper-rls1904'
42 branch-id: 'oper-rls1810'
45 branch-id: 'oper-rls1901'
48 branch-id: 'oper-rls1904'
51 name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
56 <li>vpp-device verify - per csit gerrit patch
60 <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
61 <li>trigger: keyword in comment to csit patch:
62 <b>csit-devicetest tag_list</b>
64 <li>test-cases selection
66 <li>test-cases selected using trigger keyword followed by tags
67 <li>all test-cases are labelled with CSIT RF topic tags
68 defined in <i>csit/docs/tag_documentation.rst</i>
70 <li>default tags for vpp-device test type
76 <li>jjb verify: PASS/FAIL
82 project-type: freestyle
83 node: 'vpp-csit-device'
85 archive-artifacts: 'archive/*.*'
89 daysToKeep: '{build-days-to-keep}'
90 numToKeep: '{build-num-to-keep}'
91 artifactDaysToKeep: '{build-artifact-days-to-keep}'
92 artifactNumToKeep: '{build-artifact-num-to-keep}'
101 - gerrit-refspec-parameter
102 - gerrit-event-type-parameter
103 - gerrit-event-comment-text-parameter
105 name: ARCHIVE_ARTIFACTS
106 default: '{archive-artifacts}'
107 description: Artifacts to archive to the logs server.
110 - gerrit-trigger-scm:
111 credentials-id: 'jenkins-gerrit-credentials'
112 refspec: '$GERRIT_REFSPEC'
113 choosing-strategy: 'gerrit'
116 - fdio-infra-wrappers:
117 build-timeout: '{build-timeout}'
121 server-name: 'Primary'
123 - patchset-created-event:
124 exclude-drafts: 'true'
125 exclude-trivial-rebase: 'false'
126 exclude-no-code-change: 'false'
127 - draft-published-event
128 - comment-added-contains-event:
129 comment-contains-value: 'recheck'
130 - comment-added-contains-event:
131 comment-contains-value: 'reverify'
132 - comment-added-contains-event:
133 comment-contains-value: 'csit-devicetest'
135 - project-compare-type: 'ANT'
136 project-pattern: '{project}'
138 - branch-compare-type: 'ANT'
139 branch-pattern: '**/{branch}'
143 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
150 - fdio-infra-shiplogs:
151 maven-version: 'mvn33-new'
154 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
159 <li>Validate latest vpp build from corresponding branch stored
160 in nexus against verified CSIT codebase of corresponding
163 <li>test-cases selection
165 <li>pre-selected test-cases
166 <li>all test-cases are labelled with CSIT RF topic tags
167 defined in <i>csit/docs/tag_documentation.rst</i>
169 <li>default tags for vpp-device test type
175 <li>jjb verify: PASS/FAIL
181 project-type: freestyle
182 node: 'vpp-csit-device'
184 archive-artifacts: 'csit/archive/*.*'
188 daysToKeep: '{build-days-to-keep}'
189 numToKeep: '{build-num-to-keep}'
190 artifactDaysToKeep: '{build-artifact-days-to-keep}'
191 artifactNumToKeep: '{build-artifact-num-to-keep}'
201 name: ARCHIVE_ARTIFACTS
202 default: '{archive-artifacts}'
203 description: Artifacts to archive to the logs server.
206 - fdio-infra-wrappers-non-activity-timeout:
207 build-timeout: '{build-timeout}'
210 - timed: '0 4 * * 2,6'
212 - gerrit-trigger-manually-triggered:
213 comment-trigger-value: 'csit-verify-vpp'
218 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
220 properties-file: variables.prop
222 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
226 output-path: 'csit/archive'
229 - fdio-infra-shiplogs:
230 maven-version: 'mvn33-new'
233 name: 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
238 <li>Validate CSIT code of corresponding branch against
239 verified vpp build from corresponding branch.
241 <li>test-cases selection
243 <li>pre-selected test-cases
244 <li>all test-cases are labelled with CSIT RF topic tags
245 defined in <i>csit/docs/tag_documentation.rst</i>
247 <li>default tags for vpp-device test type
253 <li>jjb verify: PASS/FAIL
259 project-type: freestyle
260 node: 'vpp-csit-device'
262 archive-artifacts: 'archive/*.*'
266 daysToKeep: '{build-days-to-keep}'
267 numToKeep: '{build-num-to-keep}'
268 artifactDaysToKeep: '{build-artifact-days-to-keep}'
269 artifactNumToKeep: '{build-artifact-num-to-keep}'
279 name: ARCHIVE_ARTIFACTS
280 default: '{archive-artifacts}'
281 description: Artifacts to archive to the logs server.
285 credentials-id: 'jenkins-gerrit-credentials'
289 - fdio-infra-wrappers-non-activity-timeout:
290 build-timeout: '{build-timeout}'
295 - gerrit-trigger-manually-triggered:
296 comment-trigger-value: 'csit-vpp-ref-verify'
302 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
309 - fdio-infra-shiplogs:
310 maven-version: 'mvn33-new'