1 # Copyright (c) 2019 Cisco and/or its affiliates.
2 # Copyright (c) 2019 PANTHEON.tech s.r.o. 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 Functinal Testing Jenkins jobs.'
24 - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
25 - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
26 - 'csit-vpp-functional-{stream}-{os}-virl'
27 - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
28 - 'csit-tldk-verify-func-{stream}-{os}-virl'
29 - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
34 build-artifact-num-to-keep: 10
41 branch-id: 'oper-rls1904'
55 name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
56 # yamllint disable-line rule:line-length
57 description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
58 # yamllint enable rule:line-length
60 project-type: freestyle
61 node: '{os}-basebuild-4c-4g'
70 daysToKeep: '{build-days-to-keep}'
71 numToKeep: '{build-num-to-keep}'
72 artifactDaysToKeep: '{build-artifact-days-to-keep}'
73 artifactNumToKeep: '{build-artifact-num-to-keep}'
81 name: ARCHIVE_ARTIFACTS
82 default: '{archive-artifacts}'
83 description: Artifacts to archive to the logs server.
87 credentials-id: 'jenkins-gerrit-credentials'
91 - fdio-infra-wrappers-non-activity-timeout:
92 build-timeout: '{build-timeout}'
97 - gerrit-trigger-manually-triggered:
98 comment-trigger-value: 'csit-vpp-ref-verify'
104 !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
110 - fdio-infra-shiplogs:
111 maven-version: 'mvn33-new'
114 name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
115 # yamllint disable-line rule:line-length
116 description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
117 # yamllint enable rule:line-length
119 project-type: freestyle
120 node: '{os}-basebuild-4c-4g'
122 archive-artifacts: 'csit/archive/*.*'
126 daysToKeep: '{build-days-to-keep}'
127 numToKeep: '{build-num-to-keep}'
128 artifactDaysToKeep: '{build-artifact-days-to-keep}'
129 artifactNumToKeep: '{build-artifact-num-to-keep}'
137 name: ARCHIVE_ARTIFACTS
138 default: '{archive-artifacts}'
139 description: Artifacts to archive to the logs server.
142 - fdio-infra-wrappers-non-activity-timeout:
143 build-timeout: '{build-timeout}'
146 - timed: '0 4 * * 2,6'
148 - gerrit-trigger-manually-triggered:
149 comment-trigger-value: 'csit-verify-vpp'
154 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
156 properties-file: variables.prop
158 # yamllint disable-line rule:line-length
159 !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
160 # yamllint enable rule:line-length
164 output-path: 'csit/archive'
166 - fdio-infra-shiplogs:
167 maven-version: 'mvn33-new'
170 name: 'csit-vpp-functional-{stream}-{os}-virl'
172 project-type: freestyle
173 node: '{os}-basebuild-4c-4g'
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}'
193 name: ARCHIVE_ARTIFACTS
194 default: '{archive-artifacts}'
195 description: Artifacts to archive to the logs server.
198 - gerrit-trigger-scm:
199 credentials-id: 'jenkins-gerrit-credentials'
200 refspec: '$GERRIT_REFSPEC'
201 choosing-strategy: 'gerrit'
204 - fdio-infra-wrappers:
205 build-timeout: '{build-timeout}'
208 - gerrit-trigger-patch-submitted:
214 !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
220 - fdio-infra-shiplogs:
221 maven-version: 'mvn33-new'
224 name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
226 project-type: freestyle
227 node: '{os}-basebuild-4c-4g'
229 archive-artifacts: 'archive/*.*'
233 daysToKeep: '{build-days-to-keep}'
234 numToKeep: '{build-num-to-keep}'
235 artifactDaysToKeep: '{build-artifact-days-to-keep}'
236 artifactNumToKeep: '{build-artifact-num-to-keep}'
248 name: ARCHIVE_ARTIFACTS
249 default: '{archive-artifacts}'
250 description: Artifacts to archive to the logs server.
253 - gerrit-trigger-scm:
254 credentials-id: 'jenkins-gerrit-credentials'
255 refspec: '$GERRIT_REFSPEC'
256 choosing-strategy: 'gerrit'
259 - fdio-infra-wrappers:
260 build-timeout: '{build-timeout}'
263 - gerrit-trigger-manually-triggered:
266 comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
270 !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
274 output-path: 'archive'
276 - fdio-infra-shiplogs:
277 maven-version: 'mvn33-new'
280 name: 'csit-tldk-verify-func-{stream}-{os}-virl'
282 project-type: freestyle
283 node: '{os}-basebuild-4c-4g'
285 archive-artifacts: 'archive/*.*'
289 daysToKeep: '{build-days-to-keep}'
290 numToKeep: '{build-num-to-keep}'
291 artifactDaysToKeep: '{build-artifact-days-to-keep}'
292 artifactNumToKeep: '{build-artifact-num-to-keep}'
302 name: ARCHIVE_ARTIFACTS
303 default: '{archive-artifacts}'
304 description: Artifacts to archive to the logs server.
307 - gerrit-trigger-scm:
308 credentials-id: 'jenkins-gerrit-credentials'
309 refspec: '$GERRIT_REFSPEC'
310 choosing-strategy: 'gerrit'
313 - fdio-infra-wrappers:
314 build-timeout: '{build-timeout}'
317 - gerrit-trigger-manually-triggered:
320 comment-trigger-value: 'csit_verify_tldk_func'
324 !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
328 output-path: 'archive'
330 - fdio-infra-shiplogs:
331 maven-version: 'mvn33-new'
334 name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
336 project-type: freestyle
337 node: 'ubuntu1604-basebuild-4c-4g'
339 archive-artifacts: 'archive/*.*'
343 daysToKeep: '{build-days-to-keep}'
344 numToKeep: '{build-num-to-keep}'
345 artifactDaysToKeep: '{build-artifact-days-to-keep}'
346 artifactNumToKeep: '{build-artifact-num-to-keep}'
354 name: ARCHIVE_ARTIFACTS
355 default: '{archive-artifacts}'
356 description: Artifacts to archive to the logs server.
359 - gerrit-trigger-scm:
360 credentials-id: 'jenkins-gerrit-credentials'
361 refspec: '$GERRIT_REFSPEC'
362 choosing-strategy: 'gerrit'
365 - fdio-infra-wrappers:
366 build-timeout: '{build-timeout}'
369 - gerrit-trigger-manually-triggered:
372 comment-trigger-value: 'csit_verify_dmm_func'
376 !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
382 - fdio-infra-shiplogs:
383 maven-version: 'mvn33-new'