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'
30 branch: 'dev-next-socket'
39 name: '{project}-verify-{stream}-{os}'
41 project-type: freestyle
42 node: '{os}-basebuild-4c-4g'
46 daysToKeep: '{build-days-to-keep}'
47 numToKeep: '{build-num-to-keep}'
48 artifactDaysToKeep: '{build-artifact-days-to-keep}'
49 artifactNumToKeep: '{build-artifact-num-to-keep}'
61 credentials-id: 'jenkins-gerrit-credentials'
62 refspec: '$GERRIT_REFSPEC'
63 choosing-strategy: 'gerrit'
66 - fdio-infra-wrappers:
67 build-timeout: '{build-timeout}'
70 - gerrit-trigger-patch-submitted:
76 !include-raw-escape: gtest-build.sh
78 properties-file: gtest-env.prop
80 !include-raw-escape: include-raw-build.sh
83 - fdio-infra-shiplogs:
84 maven-version: 'mvn36'
87 name: '{project}-verify-image-{stream}-{os}'
89 project-type: freestyle
90 node: '{os}-basebuild-4c-4g'
94 daysToKeep: '{build-days-to-keep}'
95 numToKeep: '{build-num-to-keep}'
96 artifactDaysToKeep: '{build-artifact-days-to-keep}'
97 artifactNumToKeep: '{build-artifact-num-to-keep}'
108 - gerrit-trigger-scm:
109 credentials-id: 'jenkins-gerrit-credentials'
110 refspec: '$GERRIT_REFSPEC'
111 choosing-strategy: 'gerrit'
114 - fdio-infra-wrappers:
115 build-timeout: '{build-timeout}'
119 server-name: 'Primary'
121 - comment-added-contains-event:
122 comment-contains-value: 'verify-images'
124 - project-compare-type: 'ANT'
125 project-pattern: '{project}'
127 - branch-compare-type: 'ANT'
128 branch-pattern: '**/{branch}'
137 !include-raw-escape: gtest-build.sh
139 properties-file: gtest-env.prop
141 !include-raw-escape: include-raw-build.sh
144 - fdio-infra-shiplogs:
145 maven-version: 'mvn36'
148 name: '{project}-merge-{stream}-{os}'
150 project-type: freestyle
151 node: '{os}-basebuild-4c-4g'
153 daysToKeep: '{build-days-to-keep}'
154 numToKeep: '{build-num-to-keep}'
155 artifactDaysToKeep: '{build-artifact-days-to-keep}'
156 artifactNumToKeep: '{build-artifact-num-to-keep}'
167 - gerrit-trigger-scm:
168 credentials-id: 'jenkins-gerrit-credentials'
170 choosing-strategy: 'default'
173 - fdio-infra-wrappers:
174 build-timeout: '{build-timeout}'
177 - gerrit-trigger-patch-merged:
183 !include-raw-escape: gtest-build.sh
185 properties-file: gtest-env.prop
187 !include-raw-escape: include-raw-build.sh
190 - fdio-infra-shiplogs:
191 maven-version: 'mvn36'
194 name: 'tldk-csit-verify-func-{stream}-{os}-virl'
196 project-type: freestyle
197 node: '{os}-basebuild-4c-4g'
206 daysToKeep: '{build-days-to-keep}'
207 numToKeep: '{build-num-to-keep}'
208 artifactDaysToKeep: '{build-artifact-days-to-keep}'
209 artifactNumToKeep: '{build-artifact-num-to-keep}'
217 name: ARCHIVE_ARTIFACTS
218 default: '{archive-artifacts}'
219 description: Artifacts to archive to the logs server.
222 - gerrit-trigger-scm:
223 credentials-id: 'jenkins-gerrit-credentials'
224 refspec: '$GERRIT_REFSPEC'
225 choosing-strategy: 'gerrit'
228 - fdio-infra-wrappers:
229 build-timeout: '{build-timeout}'
232 - gerrit-trigger-manually-triggered:
235 comment-trigger-value: 'verify-tldk-func'
239 !include-raw-escape: include-raw-tldk-csit-functional-virl.sh
244 - fdio-infra-shiplogs:
245 maven-version: 'mvn36'
251 - gerrit-info-yaml-verify
252 build-node: centos7-builder-4c-4g