1 # Copyright (c) 2017 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.
18 - '{project}-verify-{stream}-{os}'
19 - '{project}-merge-{stream}-{os}'
20 - '{project}-verify-image-{stream}-{os}'
21 - 'tldk-csit-verify-func-{stream}-{os}-virl'
37 name: '{project}-verify-{stream}-{os}'
39 project-type: freestyle
40 node: '{os}-basebuild-4c-4g'
44 daysToKeep: '{build-days-to-keep}'
45 numToKeep: '{build-num-to-keep}'
46 artifactDaysToKeep: '{build-artifact-days-to-keep}'
47 artifactNumToKeep: '{build-artifact-num-to-keep}'
59 credentials-id: 'jenkins-gerrit-credentials'
60 refspec: '$GERRIT_REFSPEC'
61 choosing-strategy: 'gerrit'
64 - fdio-infra-wrappers:
65 build-timeout: '{build-timeout}'
68 - gerrit-trigger-patch-submitted:
74 !include-raw-escape: gtest-build.sh
76 properties-file: gtest-env.prop
78 !include-raw-escape: include-raw-build.sh
84 name: '{project}-verify-image-{stream}-{os}'
86 project-type: freestyle
87 node: '{os}-basebuild-4c-4g'
91 daysToKeep: '{build-days-to-keep}'
92 numToKeep: '{build-num-to-keep}'
93 artifactDaysToKeep: '{build-artifact-days-to-keep}'
94 artifactNumToKeep: '{build-artifact-num-to-keep}'
105 - gerrit-trigger-scm:
106 credentials-id: 'jenkins-gerrit-credentials'
107 refspec: '$GERRIT_REFSPEC'
108 choosing-strategy: 'gerrit'
111 - fdio-infra-wrappers:
112 build-timeout: '{build-timeout}'
116 server-name: 'Primary'
118 - comment-added-contains-event:
119 comment-contains-value: 'verify-images'
121 - project-compare-type: 'ANT'
122 project-pattern: '{project}'
124 - branch-compare-type: 'ANT'
125 branch-pattern: '**/{branch}'
134 !include-raw-escape: gtest-build.sh
136 properties-file: gtest-env.prop
138 !include-raw-escape: include-raw-build.sh
144 name: '{project}-merge-{stream}-{os}'
146 project-type: freestyle
147 node: '{os}-basebuild-4c-4g'
149 daysToKeep: '{build-days-to-keep}'
150 numToKeep: '{build-num-to-keep}'
151 artifactDaysToKeep: '{build-artifact-days-to-keep}'
152 artifactNumToKeep: '{build-artifact-num-to-keep}'
163 - gerrit-trigger-scm:
164 credentials-id: 'jenkins-gerrit-credentials'
166 choosing-strategy: 'default'
169 - fdio-infra-wrappers:
170 build-timeout: '{build-timeout}'
173 - gerrit-trigger-patch-merged:
179 !include-raw-escape: gtest-build.sh
181 properties-file: gtest-env.prop
183 !include-raw-escape: include-raw-build.sh
189 name: 'tldk-csit-verify-func-{stream}-{os}-virl'
191 project-type: freestyle
192 node: '{os}-basebuild-4c-4g'
201 daysToKeep: '{build-days-to-keep}'
202 numToKeep: '{build-num-to-keep}'
203 artifactDaysToKeep: '{build-artifact-days-to-keep}'
204 artifactNumToKeep: '{build-artifact-num-to-keep}'
212 name: ARCHIVE_ARTIFACTS
213 default: '{archive-artifacts}'
214 description: Artifacts to archive to the logs server.
217 - gerrit-trigger-scm:
218 credentials-id: 'jenkins-gerrit-credentials'
219 refspec: '$GERRIT_REFSPEC'
220 choosing-strategy: 'gerrit'
223 - fdio-infra-wrappers:
224 build-timeout: '{build-timeout}'
227 - gerrit-trigger-manually-triggered:
230 comment-trigger-value: 'verify-tldk-func'
234 !include-raw-escape: include-raw-tldk-csit-functional-virl.sh
245 - gerrit-info-yaml-verify
246 build-node: centos7-builder-4c-4g