2 #########################################################################
4 # Copyright (c) 2018 Intel and/or its affiliates.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at:
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #########################################################################
21 - 'sweetcomb-verify-{stream}-{os}'
22 - 'sweetcomb-merge-{stream}-{os}'
23 # - 'sweetcomb-test-{stream}-ubuntu1604'
28 repo-os-part: 'ubuntu.xenial.main'
30 repo-os-part: 'centos7'
34 repo-stream-part: 'master'
37 repo-stream-part: 'stable.1908'
40 repo-stream-part: 'stable.1904'
43 repo-stream-part: 'stable.1901'
46 repo-stream-part: 'vom'
52 project-name: sweetcomb
55 name: 'sweetcomb-verify-{stream}-{os}'
57 project-type: freestyle
61 **/build-root/build-package/*.rpm
62 **/build-root/build-package/*.deb
66 default-excludes: false
69 daysToKeep: '{build-days-to-keep}'
71 artifactDaysToKeep: '{build-artifact-days-to-keep}'
72 artifactNumToKeep: '{build-artifact-num-to-keep}'
81 - repo-name-parameter:
82 repo-name: '{repo-stream-part}.{repo-os-part}'
86 name: ARCHIVE_ARTIFACTS
87 default: '{archive-artifacts}'
88 description: Artifacts to archive to the logs server.
92 credentials-id: 'jenkins-gerrit-credentials'
93 refspec: '$GERRIT_REFSPEC'
94 choosing-strategy: 'gerrit'
97 - fdio-infra-wrappers:
101 - gerrit-trigger-checkstyle:
104 - gerrit-trigger-patch-submitted:
109 - config-file-provider:
111 - file-id: '.packagecloud'
113 - config-file-provider:
115 - file-id: 'packagecloud_api'
118 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
121 - include-raw-sweetcomb-build.sh
123 - fdio-infra-shiplogs:
124 maven-version: 'mvn33-new'
126 rerun-unstable-builds: false
131 name: 'sweetcomb-merge-{stream}-{os}'
133 project-type: freestyle
136 **/build-root/build-package/*.rpm
137 **/build-root/build-package/*.deb
140 only-if-success: true
141 default-excludes: false
144 daysToKeep: '{build-days-to-keep}'
146 artifactDaysToKeep: '{build-artifact-days-to-keep}'
147 artifactNumToKeep: '{build-artifact-num-to-keep}'
158 - repo-name-parameter:
159 repo-name: '{repo-stream-part}.{repo-os-part}'
161 name: ARCHIVE_ARTIFACTS
162 default: '{archive-artifacts}'
163 description: Artifacts to archive to the logs server.
166 - gerrit-trigger-scm:
167 credentials-id: 'jenkins-gerrit-credentials'
169 choosing-strategy: 'default'
172 - fdio-infra-wrappers:
173 build-timeout: '{build-timeout}'
176 - gerrit-trigger-patch-merged:
181 - config-file-provider:
183 - file-id: '.packagecloud'
185 - config-file-provider:
187 - file-id: 'packagecloud_api'
190 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
193 - include-raw-sweetcomb-build.sh
196 - ../scripts/packagecloud_push.sh
198 - fdio-infra-shiplogs:
199 maven-version: 'mvn33-new'
201 rerun-unstable-builds: false
206 name: 'sweetcomb-test-{stream}-ubuntu1604'
208 project-type: freestyle
209 node: 'ubuntu1604-us'
213 daysToKeep: '{build-days-to-keep}'
215 artifactDaysToKeep: '{build-artifact-days-to-keep}'
216 artifactNumToKeep: '{build-artifact-num-to-keep}'
225 - repo-name-parameter:
226 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
231 - gerrit-trigger-scm:
232 credentials-id: 'jenkins-gerrit-credentials'
233 refspec: '$GERRIT_REFSPEC'
234 choosing-strategy: 'gerrit'
237 - fdio-infra-wrappers:
241 - gerrit-trigger-patch-submitted:
246 - config-file-provider:
248 - file-id: '.packagecloud'
250 - config-file-provider:
252 - file-id: 'packagecloud_api'
256 - include-raw-sweetcomb-build.sh
257 - include-raw-sweetcomb-test.sh
259 - fdio-infra-shiplogs:
260 maven-version: 'mvn33-new'
262 rerun-unstable-builds: false
268 project-name: sweetcomb
270 - gerrit-info-yaml-verify
271 build-node: centos7-builder-4c-4g