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-rls1904'
44 branch-id: 'oper-rls1810'
47 branch-id: 'oper-rls1901'
50 branch-id: 'oper-rls1904'
53 name: 'csit-vpp-device-{stream}-{os}-{topo}-{arch}'
58 <li>vpp-device verify - per csit gerrit patch
62 <li>name: <b>csit-vpp-device-{stream}-{os}-{topo}-{arch}</b>
63 <li>trigger: keyword in comment to csit patch:
64 <b>csit-devicetest tag_list</b>
66 <li>test-cases selection
68 <li>test-cases selected using trigger keyword followed by tags
69 <li>all test-cases are labelled with CSIT RF topic tags
70 defined in <i>csit/docs/tag_documentation.rst</i>
72 <li>default tags for vpp-device test type
78 <li>jjb verify: PASS/FAIL
84 project-type: freestyle
85 node: 'vpp-csit-device'
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
106 - gerrit-trigger-scm:
107 credentials-id: 'jenkins-gerrit-credentials'
108 refspec: '$GERRIT_REFSPEC'
109 choosing-strategy: 'gerrit'
112 - fdio-infra-wrappers:
113 build-timeout: '{build-timeout}'
117 server-name: 'Primary'
119 - patchset-created-event:
120 exclude-drafts: 'true'
121 exclude-trivial-rebase: 'false'
122 exclude-no-code-change: 'false'
123 - draft-published-event
124 - comment-added-contains-event:
125 comment-contains-value: 'recheck'
126 - comment-added-contains-event:
127 comment-contains-value: 'reverify'
128 - comment-added-contains-event:
129 comment-contains-value: 'csit-devicetest'
131 - project-compare-type: 'ANT'
132 project-pattern: '{project}'
134 - branch-compare-type: 'ANT'
135 branch-pattern: '**/{branch}'
139 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
143 artifacts: 'archive/*.*'
149 - fdio-infra-shiplogs:
150 maven-version: 'mvn33-new'
153 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-semiweekly'
158 <li>Validate latest vpp build from corresponding branch stored
159 in nexus against verified CSIT codebase of corresponding
162 <li>test-cases selection
164 <li>pre-selected test-cases
165 <li>all test-cases are labelled with CSIT RF topic tags
166 defined in <i>csit/docs/tag_documentation.rst</i>
168 <li>default tags for vpp-device test type
174 <li>jjb verify: PASS/FAIL
180 project-type: freestyle
181 node: 'vpp-csit-device'
185 daysToKeep: '{build-days-to-keep}'
186 numToKeep: '{build-num-to-keep}'
187 artifactDaysToKeep: '{build-artifact-days-to-keep}'
188 artifactNumToKeep: '{build-artifact-num-to-keep}'
199 - fdio-infra-wrappers-non-activity-timeout:
200 build-timeout: '{build-timeout}'
203 - timed: '0 4 * * 2,6'
205 - gerrit-trigger-manually-triggered:
206 comment-trigger-value: 'csit-verify-vpp'
211 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
213 properties-file: variables.prop
215 !include-raw-escape: jjb/csit/include-raw-csit-device-semiweekly.sh
219 artifacts: 'csit/archive/*.*'
222 output-path: 'csit/archive'
225 - fdio-infra-shiplogs:
226 maven-version: 'mvn33-new'
229 name: 'csit-vpp-device-{stream_timed}-{os}-{topo}-{arch}-weekly'
234 <li>Validate CSIT code of corresponding branch against
235 verified vpp build from corresponding branch.
237 <li>test-cases selection
239 <li>pre-selected test-cases
240 <li>all test-cases are labelled with CSIT RF topic tags
241 defined in <i>csit/docs/tag_documentation.rst</i>
243 <li>default tags for vpp-device test type
249 <li>jjb verify: PASS/FAIL
255 project-type: freestyle
256 node: 'vpp-csit-device'
260 daysToKeep: '{build-days-to-keep}'
261 numToKeep: '{build-num-to-keep}'
262 artifactDaysToKeep: '{build-artifact-days-to-keep}'
263 artifactNumToKeep: '{build-artifact-num-to-keep}'
275 credentials-id: 'jenkins-gerrit-credentials'
279 - fdio-infra-wrappers-non-activity-timeout:
280 build-timeout: '{build-timeout}'
285 - gerrit-trigger-manually-triggered:
286 comment-trigger-value: 'csit-vpp-ref-verify'
292 !include-raw-escape: jjb/csit/include-raw-csit-device-verify.sh
296 artifacts: 'archive/*.*'
302 - fdio-infra-shiplogs:
303 maven-version: 'mvn33-new'