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'
31 name: '{project}-verify-{stream}-{os}'
33 project-type: freestyle
34 node: '{os}-builder-4c-4g'
38 daysToKeep: '{build-days-to-keep}'
39 numToKeep: '{build-num-to-keep}'
40 artifactDaysToKeep: '{build-artifact-days-to-keep}'
41 artifactNumToKeep: '{build-artifact-num-to-keep}'
53 credentials-id: 'jenkins-gerrit-credentials'
54 refspec: '$GERRIT_REFSPEC'
55 choosing-strategy: 'gerrit'
58 - fdio-infra-wrappers:
59 build-timeout: '{build-timeout}'
62 - gerrit-trigger-patch-submitted:
68 !include-raw-escape: gtest-build.sh
70 properties-file: gtest-env.prop
72 !include-raw-escape: include-raw-build.sh
75 - fdio-infra-shiplogs:
76 maven-version: 'mvn33-new'
79 name: '{project}-verify-image-{stream}-{os}'
81 project-type: freestyle
82 node: '{os}-builder-4c-4g'
86 daysToKeep: '{build-days-to-keep}'
87 numToKeep: '{build-num-to-keep}'
88 artifactDaysToKeep: '{build-artifact-days-to-keep}'
89 artifactNumToKeep: '{build-artifact-num-to-keep}'
100 - gerrit-trigger-scm:
101 credentials-id: 'jenkins-gerrit-credentials'
102 refspec: '$GERRIT_REFSPEC'
103 choosing-strategy: 'gerrit'
106 - fdio-infra-wrappers:
107 build-timeout: '{build-timeout}'
111 server-name: 'Primary'
113 - comment-added-contains-event:
114 comment-contains-value: 'verify-images'
116 - project-compare-type: 'ANT'
117 project-pattern: '{project}'
119 - branch-compare-type: 'ANT'
120 branch-pattern: '**/{branch}'
129 !include-raw-escape: gtest-build.sh
131 properties-file: gtest-env.prop
133 !include-raw-escape: include-raw-build.sh
136 - fdio-infra-shiplogs:
137 maven-version: 'mvn33-new'
140 name: '{project}-merge-{stream}-{os}'
142 project-type: freestyle
143 node: '{os}-builder-4c-4g'
145 daysToKeep: '{build-days-to-keep}'
146 numToKeep: '{build-num-to-keep}'
147 artifactDaysToKeep: '{build-artifact-days-to-keep}'
148 artifactNumToKeep: '{build-artifact-num-to-keep}'
159 - gerrit-trigger-scm:
160 credentials-id: 'jenkins-gerrit-credentials'
162 choosing-strategy: 'default'
165 - fdio-infra-wrappers:
166 build-timeout: '{build-timeout}'
169 - gerrit-trigger-patch-merged:
175 !include-raw-escape: gtest-build.sh
177 properties-file: gtest-env.prop
179 !include-raw-escape: include-raw-build.sh
182 - fdio-infra-shiplogs:
183 maven-version: 'mvn33-new'
186 name: 'tldk-csit-verify-func-{stream}-{os}-virl'
188 project-type: freestyle
189 node: '{os}-builder-4c-4g'
193 daysToKeep: '{build-days-to-keep}'
194 numToKeep: '{build-num-to-keep}'
195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
196 artifactNumToKeep: '{build-artifact-num-to-keep}'
205 - gerrit-trigger-scm:
206 credentials-id: 'jenkins-gerrit-credentials'
207 refspec: '$GERRIT_REFSPEC'
208 choosing-strategy: 'gerrit'
211 - fdio-infra-wrappers:
212 build-timeout: '{build-timeout}'
215 - gerrit-trigger-manually-triggered:
218 comment-trigger-value: 'verify-tldk-func'
222 !include-raw-escape: include-raw-tldk-csit-functional-virl.sh
235 - fdio-infra-shiplogs:
236 maven-version: 'mvn33-new'