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'
46 project-name: sweetcomb
49 name: 'sweetcomb-verify-{stream}-{os}'
51 project-type: freestyle
56 daysToKeep: '{build-days-to-keep}'
58 artifactDaysToKeep: '{build-artifact-days-to-keep}'
59 artifactNumToKeep: '{build-artifact-num-to-keep}'
62 **/build-root/build-package/*.rpm
63 **/build-root/build-package/*.deb
67 default-excludes: false
76 - repo-name-parameter:
77 repo-name: '{repo-stream-part}.{repo-os-part}'
81 name: ARCHIVE_ARTIFACTS
82 default: '{archive-artifacts}'
83 description: Artifacts to archive to the logs server.
87 credentials-id: 'jenkins-gerrit-credentials'
88 refspec: '$GERRIT_REFSPEC'
89 choosing-strategy: 'gerrit'
92 - fdio-infra-wrappers:
96 - gerrit-trigger-checkstyle:
99 - gerrit-trigger-patch-submitted:
104 - config-file-provider:
106 - file-id: '.packagecloud'
108 - config-file-provider:
110 - file-id: 'packagecloud_api'
113 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
116 - include-raw-sweetcomb-build.sh
118 - fdio-infra-shiplogs:
119 maven-version: 'mvn33-new'
121 rerun-unstable-builds: false
126 name: 'sweetcomb-merge-{stream}-{os}'
128 project-type: freestyle
132 daysToKeep: '{build-days-to-keep}'
134 artifactDaysToKeep: '{build-artifact-days-to-keep}'
135 artifactNumToKeep: '{build-artifact-num-to-keep}'
138 **/build-root/build-package/*.rpm
139 **/build-root/build-package/*.deb
142 only-if-success: true
143 default-excludes: false
154 - repo-name-parameter:
155 repo-name: '{repo-stream-part}.{repo-os-part}'
157 name: ARCHIVE_ARTIFACTS
158 default: '{archive-artifacts}'
159 description: Artifacts to archive to the logs server.
162 - gerrit-trigger-scm:
163 credentials-id: 'jenkins-gerrit-credentials'
165 choosing-strategy: 'default'
168 - fdio-infra-wrappers:
169 build-timeout: '{build-timeout}'
172 - gerrit-trigger-patch-merged:
177 - config-file-provider:
179 - file-id: '.packagecloud'
181 - config-file-provider:
183 - file-id: 'packagecloud_api'
186 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
189 - include-raw-sweetcomb-build.sh
192 - ../scripts/packagecloud_push.sh
194 - fdio-infra-shiplogs:
195 maven-version: 'mvn33-new'
197 rerun-unstable-builds: false
202 name: 'sweetcomb-test-{stream}-ubuntu1604'
204 project-type: freestyle
205 node: 'ubuntu1604-us'
209 daysToKeep: '{build-days-to-keep}'
211 artifactDaysToKeep: '{build-artifact-days-to-keep}'
212 artifactNumToKeep: '{build-artifact-num-to-keep}'
217 only-if-success: true
218 default-excludes: false
227 - repo-name-parameter:
228 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
233 - gerrit-trigger-scm:
234 credentials-id: 'jenkins-gerrit-credentials'
235 refspec: '$GERRIT_REFSPEC'
236 choosing-strategy: 'gerrit'
239 - fdio-infra-wrappers:
243 - gerrit-trigger-patch-submitted:
248 - config-file-provider:
250 - file-id: '.packagecloud'
252 - config-file-provider:
254 - file-id: 'packagecloud_api'
258 - include-raw-sweetcomb-build.sh
259 - include-raw-sweetcomb-test.sh
261 - fdio-infra-shiplogs:
262 maven-version: 'mvn33-new'
264 rerun-unstable-builds: false