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
58 **/build-root/build-package/*.rpm
59 **/build-root/build-package/*.deb
63 default-excludes: false
66 daysToKeep: '{build-days-to-keep}'
68 artifactDaysToKeep: '{build-artifact-days-to-keep}'
69 artifactNumToKeep: '{build-artifact-num-to-keep}'
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
133 **/build-root/build-package/*.rpm
134 **/build-root/build-package/*.deb
137 only-if-success: true
138 default-excludes: false
141 daysToKeep: '{build-days-to-keep}'
143 artifactDaysToKeep: '{build-artifact-days-to-keep}'
144 artifactNumToKeep: '{build-artifact-num-to-keep}'
155 - repo-name-parameter:
156 repo-name: '{repo-stream-part}.{repo-os-part}'
158 name: ARCHIVE_ARTIFACTS
159 default: '{archive-artifacts}'
160 description: Artifacts to archive to the logs server.
163 - gerrit-trigger-scm:
164 credentials-id: 'jenkins-gerrit-credentials'
166 choosing-strategy: 'default'
169 - fdio-infra-wrappers:
170 build-timeout: '{build-timeout}'
173 - gerrit-trigger-patch-merged:
178 - config-file-provider:
180 - file-id: '.packagecloud'
182 - config-file-provider:
184 - file-id: 'packagecloud_api'
187 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
190 - include-raw-sweetcomb-build.sh
193 - ../scripts/packagecloud_push.sh
195 - fdio-infra-shiplogs:
196 maven-version: 'mvn33-new'
198 rerun-unstable-builds: false
203 name: 'sweetcomb-test-{stream}-ubuntu1604'
205 project-type: freestyle
206 node: 'ubuntu1604-us'
210 daysToKeep: '{build-days-to-keep}'
212 artifactDaysToKeep: '{build-artifact-days-to-keep}'
213 artifactNumToKeep: '{build-artifact-num-to-keep}'
222 - repo-name-parameter:
223 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
228 - gerrit-trigger-scm:
229 credentials-id: 'jenkins-gerrit-credentials'
230 refspec: '$GERRIT_REFSPEC'
231 choosing-strategy: 'gerrit'
234 - fdio-infra-wrappers:
238 - gerrit-trigger-patch-submitted:
243 - config-file-provider:
245 - file-id: '.packagecloud'
247 - config-file-provider:
249 - file-id: 'packagecloud_api'
253 - include-raw-sweetcomb-build.sh
254 - include-raw-sweetcomb-test.sh
256 - fdio-infra-shiplogs:
257 maven-version: 'mvn33-new'
259 rerun-unstable-builds: false
265 project-name: sweetcomb
267 - gerrit-info-yaml-verify
268 build-node: centos7-builder-4c-4g