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}-builder-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
86 name: '{project}-verify-image-{stream}-{os}'
88 project-type: freestyle
89 node: '{os}-builder-4c-4g'
93 daysToKeep: '{build-days-to-keep}'
94 numToKeep: '{build-num-to-keep}'
95 artifactDaysToKeep: '{build-artifact-days-to-keep}'
96 artifactNumToKeep: '{build-artifact-num-to-keep}'
107 - gerrit-trigger-scm:
108 credentials-id: 'jenkins-gerrit-credentials'
109 refspec: '$GERRIT_REFSPEC'
110 choosing-strategy: 'gerrit'
113 - fdio-infra-wrappers:
114 build-timeout: '{build-timeout}'
118 server-name: 'Primary'
120 - comment-added-contains-event:
121 comment-contains-value: 'verify-images'
123 - project-compare-type: 'ANT'
124 project-pattern: '{project}'
126 - branch-compare-type: 'ANT'
127 branch-pattern: '**/{branch}'
136 !include-raw-escape: gtest-build.sh
138 properties-file: gtest-env.prop
140 !include-raw-escape: include-raw-build.sh
146 name: '{project}-merge-{stream}-{os}'
148 project-type: freestyle
149 node: '{os}-builder-4c-4g'
151 daysToKeep: '{build-days-to-keep}'
152 numToKeep: '{build-num-to-keep}'
153 artifactDaysToKeep: '{build-artifact-days-to-keep}'
154 artifactNumToKeep: '{build-artifact-num-to-keep}'
165 - gerrit-trigger-scm:
166 credentials-id: 'jenkins-gerrit-credentials'
168 choosing-strategy: 'default'
171 - fdio-infra-wrappers:
172 build-timeout: '{build-timeout}'
175 - gerrit-trigger-patch-merged:
181 !include-raw-escape: gtest-build.sh
183 properties-file: gtest-env.prop
185 !include-raw-escape: include-raw-build.sh
191 name: 'tldk-csit-verify-func-{stream}-{os}-virl'
193 project-type: freestyle
194 node: '{os}-builder-4c-4g'
203 daysToKeep: '{build-days-to-keep}'
204 numToKeep: '{build-num-to-keep}'
205 artifactDaysToKeep: '{build-artifact-days-to-keep}'
206 artifactNumToKeep: '{build-artifact-num-to-keep}'
214 name: ARCHIVE_ARTIFACTS
215 default: '{archive-artifacts}'
216 description: Artifacts to archive to the logs server.
219 - gerrit-trigger-scm:
220 credentials-id: 'jenkins-gerrit-credentials'
221 refspec: '$GERRIT_REFSPEC'
222 choosing-strategy: 'gerrit'
225 - fdio-infra-wrappers:
226 build-timeout: '{build-timeout}'
229 - gerrit-trigger-manually-triggered:
232 comment-trigger-value: 'verify-tldk-func'
236 !include-raw-escape: include-raw-tldk-csit-functional-virl.sh
247 - gerrit-info-yaml-verify
248 build-node: centos7-builder-2c-2g
256 mvn-settings: tldk-settings
258 sonarcloud-project-organization: '{sonarcloud_project_organization}'
259 sonarcloud-api-token: '{sonarcloud_api_token}'
260 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
262 build-node: centos7-docker-2c-2g