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'
37 branch-id: 'oper-rls1901'
44 branch-id: 'oper-rls1810'
47 branch-id: 'oper-rls1901'
50 name: 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
55 <li>vpp-device verify - per csit gerrit patch
59 <li>name: <b>csit-vpp-device-{stream}-{os}-{topo}-{arch}</b>
60 <li>trigger: keyword in comment to csit patch:
61 <b>csit-devicetest tag_list</b>
63 <li>test-cases selection
65 <li>test-cases selected using trigger keyword followed by tags
66 <li>all test-cases are labelled with CSIT RF topic tags
67 defined in <i>csit/docs/tag_documentation.rst</i>
69 <li>default tags for vpp-device test type
75 <li>jjb verify: PASS/FAIL
81 project-type: freestyle
82 node: 'vpp-csit-device'
86 daysToKeep: '{build-days-to-keep}'
87 numToKeep: '{build-num-to-keep}'
88 artifactDaysToKeep: '{build-artifact-days-to-keep}'
89 artifactNumToKeep: '{build-artifact-num-to-keep}'
98 - gerrit-refspec-parameter
99 - gerrit-event-type-parameter
100 - gerrit-event-comment-text-parameter
103 - gerrit-trigger-scm:
104 credentials-id: 'jenkins-gerrit-credentials'
105 refspec: '$GERRIT_REFSPEC'
106 choosing-strategy: 'gerrit'
109 - fdio-infra-wrappers:
110 build-timeout: '{build-timeout}'
114 server-name: 'Primary'
116 - patchset-created-event:
117 exclude-drafts: 'true'
118 exclude-trivial-rebase: 'false'
119 exclude-no-code-change: 'false'
120 - draft-published-event
121 - comment-added-contains-event:
122 comment-contains-value: 'recheck'
123 - comment-added-contains-event:
124 comment-contains-value: 'reverify'
125 - comment-added-contains-event:
126 comment-contains-value: 'csit-devicetest'
128 - project-compare-type: 'ANT'
129 project-pattern: '{project}'
131 - branch-compare-type: 'ANT'
132 branch-pattern: '**/{branch}'
136 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
140 artifacts: 'archive/*.*'
146 - fdio-infra-shiplogs:
147 maven-version: 'mvn33-new'
150 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-semiweekly'
155 <li>Validate latest vpp build from corresponding branch stored
156 in nexus against verified CSIT codebase of corresponding
159 <li>test-cases selection
161 <li>pre-selected test-cases
162 <li>all test-cases are labelled with CSIT RF topic tags
163 defined in <i>csit/docs/tag_documentation.rst</i>
165 <li>default tags for vpp-device test type
171 <li>jjb verify: PASS/FAIL
177 project-type: freestyle
178 node: 'vpp-csit-device'
182 daysToKeep: '{build-days-to-keep}'
183 numToKeep: '{build-num-to-keep}'
184 artifactDaysToKeep: '{build-artifact-days-to-keep}'
185 artifactNumToKeep: '{build-artifact-num-to-keep}'
196 - fdio-infra-wrappers-non-activity-timeout:
197 build-timeout: '{build-timeout}'
200 - timed: '0 4 * * 2,6'
202 - gerrit-trigger-manually-triggered:
203 comment-trigger-value: 'csit-verify-vpp'
208 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
210 properties-file: variables.prop
212 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
216 artifacts: 'csit/archive/*.*'
219 output-path: 'csit/archive'
222 - fdio-infra-shiplogs:
223 maven-version: 'mvn33-new'
226 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-weekly'
231 <li>Validate CSIT code of corresponding branch against
232 verified vpp build from corresponding branch.
234 <li>test-cases selection
236 <li>pre-selected test-cases
237 <li>all test-cases are labelled with CSIT RF topic tags
238 defined in <i>csit/docs/tag_documentation.rst</i>
240 <li>default tags for vpp-device test type
246 <li>jjb verify: PASS/FAIL
252 project-type: freestyle
253 node: 'vpp-csit-device'
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
272 credentials-id: 'jenkins-gerrit-credentials'
276 - fdio-infra-wrappers-non-activity-timeout:
277 build-timeout: '{build-timeout}'
282 - gerrit-trigger-manually-triggered:
283 comment-trigger-value: 'csit-vpp-ref-verify'
289 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
293 artifacts: 'archive/*.*'
299 - fdio-infra-shiplogs:
300 maven-version: 'mvn33-new'