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.1904'
40 repo-stream-part: 'stable.1901'
43 repo-stream-part: 'vom'
49 project-name: sweetcomb
52 name: 'sweetcomb-verify-{stream}-{os}'
54 project-type: freestyle
59 daysToKeep: '{build-days-to-keep}'
61 artifactDaysToKeep: '{build-artifact-days-to-keep}'
62 artifactNumToKeep: '{build-artifact-num-to-keep}'
65 **/build-root/build-package/*.rpm
66 **/build-root/build-package/*.deb
70 default-excludes: false
79 - repo-name-parameter:
80 repo-name: '{repo-stream-part}.{repo-os-part}'
84 name: ARCHIVE_ARTIFACTS
85 default: '{archive-artifacts}'
86 description: Artifacts to archive to the logs server.
90 credentials-id: 'jenkins-gerrit-credentials'
91 refspec: '$GERRIT_REFSPEC'
92 choosing-strategy: 'gerrit'
95 - fdio-infra-wrappers:
99 - gerrit-trigger-checkstyle:
102 - gerrit-trigger-patch-submitted:
107 - config-file-provider:
109 - file-id: '.packagecloud'
111 - config-file-provider:
113 - file-id: 'packagecloud_api'
116 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
119 - include-raw-sweetcomb-build.sh
121 - fdio-infra-shiplogs:
122 maven-version: 'mvn33-new'
124 rerun-unstable-builds: false
129 name: 'sweetcomb-merge-{stream}-{os}'
131 project-type: freestyle
135 daysToKeep: '{build-days-to-keep}'
137 artifactDaysToKeep: '{build-artifact-days-to-keep}'
138 artifactNumToKeep: '{build-artifact-num-to-keep}'
141 **/build-root/build-package/*.rpm
142 **/build-root/build-package/*.deb
145 only-if-success: true
146 default-excludes: false
157 - repo-name-parameter:
158 repo-name: '{repo-stream-part}.{repo-os-part}'
160 name: ARCHIVE_ARTIFACTS
161 default: '{archive-artifacts}'
162 description: Artifacts to archive to the logs server.
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:
180 - config-file-provider:
182 - file-id: '.packagecloud'
184 - config-file-provider:
186 - file-id: 'packagecloud_api'
189 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
192 - include-raw-sweetcomb-build.sh
195 - ../scripts/packagecloud_push.sh
197 - fdio-infra-shiplogs:
198 maven-version: 'mvn33-new'
200 rerun-unstable-builds: false
205 name: 'sweetcomb-test-{stream}-ubuntu1604'
207 project-type: freestyle
208 node: 'ubuntu1604-us'
212 daysToKeep: '{build-days-to-keep}'
214 artifactDaysToKeep: '{build-artifact-days-to-keep}'
215 artifactNumToKeep: '{build-artifact-num-to-keep}'
220 only-if-success: true
221 default-excludes: false
230 - repo-name-parameter:
231 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
236 - gerrit-trigger-scm:
237 credentials-id: 'jenkins-gerrit-credentials'
238 refspec: '$GERRIT_REFSPEC'
239 choosing-strategy: 'gerrit'
242 - fdio-infra-wrappers:
246 - gerrit-trigger-patch-submitted:
251 - config-file-provider:
253 - file-id: '.packagecloud'
255 - config-file-provider:
257 - file-id: 'packagecloud_api'
261 - include-raw-sweetcomb-build.sh
262 - include-raw-sweetcomb-test.sh
264 - fdio-infra-shiplogs:
265 maven-version: 'mvn33-new'
267 rerun-unstable-builds: false