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-functional-{stream}-{os}-virl'
25 - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
26 - 'csit-tldk-verify-func-{stream}-{os}-virl'
27 - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
32 build-artifact-num-to-keep: 10
40 name: 'csit-vpp-functional-{stream}-{os}-virl'
42 project-type: freestyle
43 node: '{os}-basebuild-4c-4g'
52 daysToKeep: '{build-days-to-keep}'
53 numToKeep: '{build-num-to-keep}'
54 artifactDaysToKeep: '{build-artifact-days-to-keep}'
55 artifactNumToKeep: '{build-artifact-num-to-keep}'
63 name: ARCHIVE_ARTIFACTS
64 default: '{archive-artifacts}'
65 description: Artifacts to archive to the logs server.
66 # This is an automatic verify job, part of API coverage.
67 # CRC checking is needed to ensure vpp crc job breaks only when intended.
68 # Can be removed when this job is no longer needed for full API coverage.
69 - csit-fail-on-crc-mismatch-parameter:
70 fail-on-crc-mismatch: 'True'
74 credentials-id: 'jenkins-gerrit-credentials'
75 refspec: '$GERRIT_REFSPEC'
76 choosing-strategy: 'gerrit'
79 - fdio-infra-wrappers:
80 build-timeout: '{build-timeout}'
83 - gerrit-trigger-manually-triggered:
86 comment-trigger-value: 'csit-virltest'
90 !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
96 - fdio-infra-shiplogs:
97 maven-version: 'mvn33-new'
100 name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
102 project-type: freestyle
103 node: '{os}-basebuild-4c-4g'
105 archive-artifacts: 'archive/*.*'
109 daysToKeep: '{build-days-to-keep}'
110 numToKeep: '{build-num-to-keep}'
111 artifactDaysToKeep: '{build-artifact-days-to-keep}'
112 artifactNumToKeep: '{build-artifact-num-to-keep}'
124 name: ARCHIVE_ARTIFACTS
125 default: '{archive-artifacts}'
126 description: Artifacts to archive to the logs server.
129 - gerrit-trigger-scm:
130 credentials-id: 'jenkins-gerrit-credentials'
131 refspec: '$GERRIT_REFSPEC'
132 choosing-strategy: 'gerrit'
135 - fdio-infra-wrappers:
136 build-timeout: '{build-timeout}'
139 - gerrit-trigger-manually-triggered:
142 comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
146 !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
150 output-path: 'archive'
152 - fdio-infra-shiplogs:
153 maven-version: 'mvn33-new'
156 name: 'csit-tldk-verify-func-{stream}-{os}-virl'
158 project-type: freestyle
159 node: '{os}-basebuild-4c-4g'
161 archive-artifacts: 'archive/*.*'
165 daysToKeep: '{build-days-to-keep}'
166 numToKeep: '{build-num-to-keep}'
167 artifactDaysToKeep: '{build-artifact-days-to-keep}'
168 artifactNumToKeep: '{build-artifact-num-to-keep}'
178 name: ARCHIVE_ARTIFACTS
179 default: '{archive-artifacts}'
180 description: Artifacts to archive to the logs server.
183 - gerrit-trigger-scm:
184 credentials-id: 'jenkins-gerrit-credentials'
185 refspec: '$GERRIT_REFSPEC'
186 choosing-strategy: 'gerrit'
189 - fdio-infra-wrappers:
190 build-timeout: '{build-timeout}'
193 - gerrit-trigger-manually-triggered:
196 comment-trigger-value: 'csit_verify_tldk_func'
200 !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
204 output-path: 'archive'
206 - fdio-infra-shiplogs:
207 maven-version: 'mvn33-new'
210 name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
212 project-type: freestyle
213 node: 'ubuntu1604-basebuild-4c-4g'
215 archive-artifacts: 'archive/*.*'
219 daysToKeep: '{build-days-to-keep}'
220 numToKeep: '{build-num-to-keep}'
221 artifactDaysToKeep: '{build-artifact-days-to-keep}'
222 artifactNumToKeep: '{build-artifact-num-to-keep}'
230 name: ARCHIVE_ARTIFACTS
231 default: '{archive-artifacts}'
232 description: Artifacts to archive to the logs server.
235 - gerrit-trigger-scm:
236 credentials-id: 'jenkins-gerrit-credentials'
237 refspec: '$GERRIT_REFSPEC'
238 choosing-strategy: 'gerrit'
241 - fdio-infra-wrappers:
242 build-timeout: '{build-timeout}'
245 - gerrit-trigger-manually-triggered:
248 comment-trigger-value: 'csit_verify_dmm_func'
252 !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
258 - fdio-infra-shiplogs:
259 maven-version: 'mvn33-new'