1 # Copyright (c) 2020 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'
91 - ../scripts/csit/vpp-functional-virl.sh
97 - fdio-infra-shiplogs:
98 maven-version: 'mvn33-new'
101 name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
103 project-type: freestyle
104 node: '{os}-basebuild-4c-4g'
106 archive-artifacts: 'archive/*.*'
110 daysToKeep: '{build-days-to-keep}'
111 numToKeep: '{build-num-to-keep}'
112 artifactDaysToKeep: '{build-artifact-days-to-keep}'
113 artifactNumToKeep: '{build-artifact-num-to-keep}'
125 name: ARCHIVE_ARTIFACTS
126 default: '{archive-artifacts}'
127 description: Artifacts to archive to the logs server.
130 - gerrit-trigger-scm:
131 credentials-id: 'jenkins-gerrit-credentials'
132 refspec: '$GERRIT_REFSPEC'
133 choosing-strategy: 'gerrit'
136 - fdio-infra-wrappers:
137 build-timeout: '{build-timeout}'
140 - gerrit-trigger-manually-triggered:
143 comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
148 - ../scripts/csit/nsh_sfc-functional-virl.sh
152 output-path: 'archive'
154 - fdio-infra-shiplogs:
155 maven-version: 'mvn33-new'
158 name: 'csit-tldk-verify-func-{stream}-{os}-virl'
160 project-type: freestyle
161 node: '{os}-basebuild-4c-4g'
163 archive-artifacts: 'archive/*.*'
167 daysToKeep: '{build-days-to-keep}'
168 numToKeep: '{build-num-to-keep}'
169 artifactDaysToKeep: '{build-artifact-days-to-keep}'
170 artifactNumToKeep: '{build-artifact-num-to-keep}'
180 name: ARCHIVE_ARTIFACTS
181 default: '{archive-artifacts}'
182 description: Artifacts to archive to the logs server.
185 - gerrit-trigger-scm:
186 credentials-id: 'jenkins-gerrit-credentials'
187 refspec: '$GERRIT_REFSPEC'
188 choosing-strategy: 'gerrit'
191 - fdio-infra-wrappers:
192 build-timeout: '{build-timeout}'
195 - gerrit-trigger-manually-triggered:
198 comment-trigger-value: 'csit_verify_tldk_func'
203 - ../scripts/csit/tldk-functional-virl.sh
207 output-path: 'archive'
209 - fdio-infra-shiplogs:
210 maven-version: 'mvn33-new'
213 name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
215 project-type: freestyle
216 node: 'ubuntu1604-basebuild-4c-4g'
218 archive-artifacts: 'archive/*.*'
222 daysToKeep: '{build-days-to-keep}'
223 numToKeep: '{build-num-to-keep}'
224 artifactDaysToKeep: '{build-artifact-days-to-keep}'
225 artifactNumToKeep: '{build-artifact-num-to-keep}'
233 name: ARCHIVE_ARTIFACTS
234 default: '{archive-artifacts}'
235 description: Artifacts to archive to the logs server.
238 - gerrit-trigger-scm:
239 credentials-id: 'jenkins-gerrit-credentials'
240 refspec: '$GERRIT_REFSPEC'
241 choosing-strategy: 'gerrit'
244 - fdio-infra-wrappers:
245 build-timeout: '{build-timeout}'
248 - gerrit-trigger-manually-triggered:
251 comment-trigger-value: 'csit_verify_dmm_func'
256 - ../scripts/csit/dmm-functional-virl.sh
262 - fdio-infra-shiplogs:
263 maven-version: 'mvn33-new'