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.'
25 - 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
26 - 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-semiweekly'
27 - 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-weekly'
41 branch-id: 'oper-rls1810'
44 name: 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
49 <li>vpp-device verify - per csit gerrit patch
53 <li>name: <b>csit-vpp-device-{stream}-{os}-{topo}-{arch}</b>
54 <li>trigger: keyword in comment to csit patch:
55 <b>csit-devicetest tag_list</b>
57 <li>test-cases selection
59 <li>test-cases selected using trigger keyword followed by tags
60 <li>all test-cases are labelled with CSIT RF topic tags
61 defined in <i>csit/docs/tag_documentation.rst</i>
63 <li>default tags for vpp-device test type
69 <li>jjb verify: PASS/FAIL
75 project-type: freestyle
76 node: 'vpp-csit-device'
80 daysToKeep: '{build-days-to-keep}'
81 numToKeep: '{build-num-to-keep}'
82 artifactDaysToKeep: '{build-artifact-days-to-keep}'
83 artifactNumToKeep: '{build-artifact-num-to-keep}'
92 - gerrit-refspec-parameter
93 - gerrit-event-type-parameter
94 - gerrit-event-comment-text-parameter
98 credentials-id: 'jenkins-gerrit-credentials'
99 refspec: '$GERRIT_REFSPEC'
100 choosing-strategy: 'gerrit'
103 - fdio-infra-wrappers:
104 build-timeout: '{build-timeout}'
108 server-name: 'Primary'
110 - patchset-created-event:
111 exclude-drafts: 'true'
112 exclude-trivial-rebase: 'false'
113 exclude-no-code-change: 'false'
114 - draft-published-event
115 - comment-added-contains-event:
116 comment-contains-value: 'recheck'
117 - comment-added-contains-event:
118 comment-contains-value: 'reverify'
119 - comment-added-contains-event:
120 comment-contains-value: 'csit-devicetest'
122 - project-compare-type: 'ANT'
123 project-pattern: '{project}'
125 - branch-compare-type: 'ANT'
126 branch-pattern: '**/{branch}'
130 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
134 artifacts: 'archive/*.*'
140 - fdio-infra-shiplogs:
141 maven-version: 'mvn33-new'
144 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-semiweekly'
149 <li>Validate latest vpp build from corresponding branch stored
150 in nexus against verified CSIT codebase of corresponding
153 <li>test-cases selection
155 <li>pre-selected test-cases
156 <li>all test-cases are labelled with CSIT RF topic tags
157 defined in <i>csit/docs/tag_documentation.rst</i>
159 <li>default tags for vpp-device test type
165 <li>jjb verify: PASS/FAIL
171 project-type: freestyle
172 node: 'vpp-csit-device'
176 daysToKeep: '{build-days-to-keep}'
177 numToKeep: '{build-num-to-keep}'
178 artifactDaysToKeep: '{build-artifact-days-to-keep}'
179 artifactNumToKeep: '{build-artifact-num-to-keep}'
190 - fdio-infra-wrappers-non-activity-timeout:
191 build-timeout: '{build-timeout}'
194 - timed: '0 4 * * 2,6'
196 - gerrit-trigger-manually-triggered:
197 comment-trigger-value: 'csit-verify-vpp'
203 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
207 artifacts: 'csit/archive/*.*'
210 output-path: 'csit/archive'
213 - fdio-infra-shiplogs:
214 maven-version: 'mvn33-new'
217 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-weekly'
222 <li>Validate CSIT code of corresponding branch against
223 verified vpp build from corresponding branch.
225 <li>test-cases selection
227 <li>pre-selected test-cases
228 <li>all test-cases are labelled with CSIT RF topic tags
229 defined in <i>csit/docs/tag_documentation.rst</i>
231 <li>default tags for vpp-device test type
237 <li>jjb verify: PASS/FAIL
243 project-type: freestyle
244 node: 'vpp-csit-device'
248 daysToKeep: '{build-days-to-keep}'
249 numToKeep: '{build-num-to-keep}'
250 artifactDaysToKeep: '{build-artifact-days-to-keep}'
251 artifactNumToKeep: '{build-artifact-num-to-keep}'
263 credentials-id: 'jenkins-gerrit-credentials'
267 - fdio-infra-wrappers-non-activity-timeout:
268 build-timeout: '{build-timeout}'
273 - gerrit-trigger-manually-triggered:
274 comment-trigger-value: 'csit-vpp-ref-verify'
280 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
284 artifacts: 'archive/*.*'
290 - fdio-infra-shiplogs:
291 maven-version: 'mvn33-new'