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}-{os}'
28 repo-os-part: 'ubuntu.xenial.main'
30 repo-os-part: 'ubuntu.bionic.main'
32 repo-os-part: 'centos7'
36 repo-stream-part: 'master'
39 repo-stream-part: 'stable.1904'
42 repo-stream-part: 'stable.1901'
48 project-name: sweetcomb
51 name: 'sweetcomb-verify-{stream}-{os}'
53 project-type: freestyle
58 daysToKeep: '{build-days-to-keep}'
60 artifactDaysToKeep: '{build-artifact-days-to-keep}'
61 artifactNumToKeep: '{build-artifact-num-to-keep}'
64 **/build-root/build-package/*.rpm
65 **/build-root/build-package/*.deb
69 default-excludes: false
78 - repo-name-parameter:
79 repo-name: '{repo-stream-part}.{repo-os-part}'
83 name: ARCHIVE_ARTIFACTS
84 default: '{archive-artifacts}'
85 description: Artifacts to archive to the logs server.
89 credentials-id: 'jenkins-gerrit-credentials'
90 refspec: '$GERRIT_REFSPEC'
91 choosing-strategy: 'gerrit'
94 - fdio-infra-wrappers:
98 - gerrit-trigger-checkstyle:
101 - gerrit-trigger-patch-submitted:
106 - config-file-provider:
108 - file-id: '.packagecloud'
110 - config-file-provider:
112 - file-id: 'packagecloud_api'
115 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
118 - include-raw-sweetcomb-build.sh
120 - fdio-infra-shiplogs:
121 maven-version: 'mvn33-new'
123 rerun-unstable-builds: false
128 name: 'sweetcomb-merge-{stream}-{os}'
130 project-type: freestyle
134 daysToKeep: '{build-days-to-keep}'
136 artifactDaysToKeep: '{build-artifact-days-to-keep}'
137 artifactNumToKeep: '{build-artifact-num-to-keep}'
140 **/build-root/build-package/*.rpm
141 **/build-root/build-package/*.deb
144 only-if-success: true
145 default-excludes: false
156 - repo-name-parameter:
157 repo-name: '{repo-stream-part}.{repo-os-part}'
159 name: ARCHIVE_ARTIFACTS
160 default: '{archive-artifacts}'
161 description: Artifacts to archive to the logs server.
164 - gerrit-trigger-scm:
165 credentials-id: 'jenkins-gerrit-credentials'
167 choosing-strategy: 'default'
170 - fdio-infra-wrappers:
171 build-timeout: '{build-timeout}'
174 - gerrit-trigger-patch-merged:
179 - config-file-provider:
181 - file-id: '.packagecloud'
183 - config-file-provider:
185 - file-id: 'packagecloud_api'
188 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
191 - include-raw-sweetcomb-build.sh
194 - ../scripts/packagecloud_push.sh
196 - fdio-infra-shiplogs:
197 maven-version: 'mvn33-new'
199 rerun-unstable-builds: false
204 name: 'sweetcomb-test-{stream}-{os}'
206 project-type: freestyle
211 daysToKeep: '{build-days-to-keep}'
213 artifactDaysToKeep: '{build-artifact-days-to-keep}'
214 artifactNumToKeep: '{build-artifact-num-to-keep}'
219 only-if-success: true
220 default-excludes: false
229 - repo-name-parameter:
230 repo-name: '{repo-stream-part}.{repo-os-part}'
235 - gerrit-trigger-scm:
236 credentials-id: 'jenkins-gerrit-credentials'
237 refspec: '$GERRIT_REFSPEC'
238 choosing-strategy: 'gerrit'
241 - fdio-infra-wrappers:
245 - gerrit-trigger-patch-submitted:
250 - config-file-provider:
252 - file-id: '.packagecloud'
254 - config-file-provider:
256 - file-id: 'packagecloud_api'
260 - include-raw-sweetcomb-build.sh
261 - include-raw-sweetcomb-test.sh
263 - fdio-infra-shiplogs:
264 maven-version: 'mvn33-new'
266 rerun-unstable-builds: false