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}-basebuild-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}-basebuild-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}-basebuild-4c-4g'
146 daysToKeep: '{build-days-to-keep}'
147 numToKeep: '{build-num-to-keep}'
148 artifactDaysToKeep: '{build-artifact-days-to-keep}'
149 artifactNumToKeep: '{build-artifact-num-to-keep}'
160 - gerrit-trigger-scm:
161 credentials-id: 'jenkins-gerrit-credentials'
163 choosing-strategy: 'default'
166 - fdio-infra-wrappers:
167 build-timeout: '{build-timeout}'
170 - gerrit-trigger-patch-merged:
176 !include-raw-escape: gtest-build.sh
178 properties-file: gtest-env.prop
180 !include-raw-escape: include-raw-build.sh
183 - fdio-infra-shiplogs:
184 maven-version: 'mvn33-new'
187 name: 'tldk-csit-verify-func-{stream}-{os}-virl'
189 project-type: freestyle
190 node: '{os}-basebuild-4c-4g'
194 daysToKeep: '{build-days-to-keep}'
195 numToKeep: '{build-num-to-keep}'
196 artifactDaysToKeep: '{build-artifact-days-to-keep}'
197 artifactNumToKeep: '{build-artifact-num-to-keep}'
206 - gerrit-trigger-scm:
207 credentials-id: 'jenkins-gerrit-credentials'
208 refspec: '$GERRIT_REFSPEC'
209 choosing-strategy: 'gerrit'
212 - fdio-infra-wrappers:
213 build-timeout: '{build-timeout}'
216 - gerrit-trigger-manually-triggered:
219 comment-trigger-value: 'verify-tldk-func'
223 !include-raw-escape: include-raw-tldk-csit-functional-virl.sh
227 artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
233 - fdio-infra-shiplogs:
234 maven-version: 'mvn33-new'