2 # Copyright (c) 2019 Cisco and/or its affiliates.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
18 description: 'CSIT jenkins jobs.'
26 - 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
27 - 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-semiweekly'
28 - 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-weekly'
38 branch-id: 'oper-rls1904'
45 branch-id: 'oper-rls1810'
48 branch-id: 'oper-rls1901'
51 branch-id: 'oper-rls1904'
54 name: 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
59 <li>vpp-device verify - per csit gerrit patch
63 <li>name: <b>csit-vpp-device-{stream}-{os}-{topo}-{arch}</b>
64 <li>trigger: keyword in comment to csit patch:
65 <b>csit-devicetest tag_list</b>
67 <li>test-cases selection
69 <li>test-cases selected using trigger keyword followed by tags
70 <li>all test-cases are labelled with CSIT RF topic tags
71 defined in <i>csit/docs/tag_documentation.rst</i>
73 <li>default tags for vpp-device test type
79 <li>jjb verify: PASS/FAIL
85 project-type: freestyle
86 node: 'vpp-csit-device'
88 archive-artifacts: 'archive/*.*'
92 daysToKeep: '{build-days-to-keep}'
93 numToKeep: '{build-num-to-keep}'
94 artifactDaysToKeep: '{build-artifact-days-to-keep}'
95 artifactNumToKeep: '{build-artifact-num-to-keep}'
104 - gerrit-refspec-parameter
105 - gerrit-event-type-parameter
106 - gerrit-event-comment-text-parameter
108 name: ARCHIVE_ARTIFACTS
109 default: '{archive-artifacts}'
110 description: Artifacts to archive to the logs server.
113 - gerrit-trigger-scm:
114 credentials-id: 'jenkins-gerrit-credentials'
115 refspec: '$GERRIT_REFSPEC'
116 choosing-strategy: 'gerrit'
119 - fdio-infra-wrappers:
120 build-timeout: '{build-timeout}'
124 server-name: 'Primary'
126 - patchset-created-event:
127 exclude-drafts: 'true'
128 exclude-trivial-rebase: 'false'
129 exclude-no-code-change: 'false'
130 - draft-published-event
131 - comment-added-contains-event:
132 comment-contains-value: 'recheck'
133 - comment-added-contains-event:
134 comment-contains-value: 'reverify'
135 - comment-added-contains-event:
136 comment-contains-value: 'csit-devicetest'
138 - project-compare-type: 'ANT'
139 project-pattern: '{project}'
141 - branch-compare-type: 'ANT'
142 branch-pattern: '**/{branch}'
146 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
153 - fdio-infra-shiplogs:
154 maven-version: 'mvn33-new'
157 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-semiweekly'
162 <li>Validate latest vpp build from corresponding branch stored
163 in nexus against verified CSIT codebase of corresponding
166 <li>test-cases selection
168 <li>pre-selected test-cases
169 <li>all test-cases are labelled with CSIT RF topic tags
170 defined in <i>csit/docs/tag_documentation.rst</i>
172 <li>default tags for vpp-device test type
178 <li>jjb verify: PASS/FAIL
184 project-type: freestyle
185 node: 'vpp-csit-device'
187 archive-artifacts: 'csit/archive/*.*'
191 daysToKeep: '{build-days-to-keep}'
192 numToKeep: '{build-num-to-keep}'
193 artifactDaysToKeep: '{build-artifact-days-to-keep}'
194 artifactNumToKeep: '{build-artifact-num-to-keep}'
204 name: ARCHIVE_ARTIFACTS
205 default: '{archive-artifacts}'
206 description: Artifacts to archive to the logs server.
209 - fdio-infra-wrappers-non-activity-timeout:
210 build-timeout: '{build-timeout}'
213 - timed: '0 4 * * 2,6'
215 - gerrit-trigger-manually-triggered:
216 comment-trigger-value: 'csit-verify-vpp'
221 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
223 properties-file: variables.prop
225 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
229 output-path: 'csit/archive'
232 - fdio-infra-shiplogs:
233 maven-version: 'mvn33-new'
236 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-weekly'
241 <li>Validate CSIT code of corresponding branch against
242 verified vpp build from corresponding branch.
244 <li>test-cases selection
246 <li>pre-selected test-cases
247 <li>all test-cases are labelled with CSIT RF topic tags
248 defined in <i>csit/docs/tag_documentation.rst</i>
250 <li>default tags for vpp-device test type
256 <li>jjb verify: PASS/FAIL
262 project-type: freestyle
263 node: 'vpp-csit-device'
265 archive-artifacts: 'archive/*.*'
269 daysToKeep: '{build-days-to-keep}'
270 numToKeep: '{build-num-to-keep}'
271 artifactDaysToKeep: '{build-artifact-days-to-keep}'
272 artifactNumToKeep: '{build-artifact-num-to-keep}'
282 name: ARCHIVE_ARTIFACTS
283 default: '{archive-artifacts}'
284 description: Artifacts to archive to the logs server.
288 credentials-id: 'jenkins-gerrit-credentials'
292 - fdio-infra-wrappers-non-activity-timeout:
293 build-timeout: '{build-timeout}'
298 - gerrit-trigger-manually-triggered:
299 comment-trigger-value: 'csit-vpp-ref-verify'
305 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
312 - fdio-infra-shiplogs:
313 maven-version: 'mvn33-new'