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'
32 branch: 'dev-mitm-proxy'
41 name: '{project}-verify-{stream}-{os}'
43 project-type: freestyle
44 node: '{os}-builder-4c-4g'
48 daysToKeep: '{build-days-to-keep}'
49 numToKeep: '{build-num-to-keep}'
50 artifactDaysToKeep: '{build-artifact-days-to-keep}'
51 artifactNumToKeep: '{build-artifact-num-to-keep}'
63 credentials-id: 'jenkins-gerrit-credentials'
64 refspec: '$GERRIT_REFSPEC'
65 choosing-strategy: 'gerrit'
68 - fdio-infra-wrappers:
69 build-timeout: '{build-timeout}'
72 - gerrit-trigger-patch-submitted:
78 !include-raw-escape: gtest-build.sh
80 properties-file: gtest-env.prop
82 !include-raw-escape: include-raw-build.sh
88 name: '{project}-verify-image-{stream}-{os}'
90 project-type: freestyle
91 node: '{os}-builder-4c-4g'
95 daysToKeep: '{build-days-to-keep}'
96 numToKeep: '{build-num-to-keep}'
97 artifactDaysToKeep: '{build-artifact-days-to-keep}'
98 artifactNumToKeep: '{build-artifact-num-to-keep}'
109 - gerrit-trigger-scm:
110 credentials-id: 'jenkins-gerrit-credentials'
111 refspec: '$GERRIT_REFSPEC'
112 choosing-strategy: 'gerrit'
115 - fdio-infra-wrappers:
116 build-timeout: '{build-timeout}'
120 server-name: 'Primary'
122 - comment-added-contains-event:
123 comment-contains-value: 'verify-images'
125 - project-compare-type: 'ANT'
126 project-pattern: '{project}'
128 - branch-compare-type: 'ANT'
129 branch-pattern: '**/{branch}'
138 !include-raw-escape: gtest-build.sh
140 properties-file: gtest-env.prop
142 !include-raw-escape: include-raw-build.sh
148 name: '{project}-merge-{stream}-{os}'
150 project-type: freestyle
151 node: '{os}-builder-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
193 name: 'tldk-csit-verify-func-{stream}-{os}-virl'
195 project-type: freestyle
196 node: '{os}-builder-4c-4g'
205 daysToKeep: '{build-days-to-keep}'
206 numToKeep: '{build-num-to-keep}'
207 artifactDaysToKeep: '{build-artifact-days-to-keep}'
208 artifactNumToKeep: '{build-artifact-num-to-keep}'
216 name: ARCHIVE_ARTIFACTS
217 default: '{archive-artifacts}'
218 description: Artifacts to archive to the logs server.
221 - gerrit-trigger-scm:
222 credentials-id: 'jenkins-gerrit-credentials'
223 refspec: '$GERRIT_REFSPEC'
224 choosing-strategy: 'gerrit'
227 - fdio-infra-wrappers:
228 build-timeout: '{build-timeout}'
231 - gerrit-trigger-manually-triggered:
234 comment-trigger-value: 'verify-tldk-func'
238 !include-raw-escape: include-raw-tldk-csit-functional-virl.sh
249 - gerrit-info-yaml-verify
250 build-node: centos7-builder-2c-2g
258 mvn-settings: tldk-settings
260 sonarcloud-project-organization: '{sonarcloud_project_organization}'
261 sonarcloud-api-token: '{sonarcloud_api_token}'
262 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
264 build-node: centos7-docker-2c-2g