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.2001'
40 repo-stream-part: 'stable.1908'
43 repo-stream-part: 'stable.1904'
46 repo-stream-part: 'stable.1901'
49 repo-stream-part: 'vom'
55 project-name: sweetcomb
58 name: 'sweetcomb-verify-{stream}-{os}'
60 project-type: freestyle
65 daysToKeep: '{build-days-to-keep}'
67 artifactDaysToKeep: '{build-artifact-days-to-keep}'
68 artifactNumToKeep: '{build-artifact-num-to-keep}'
77 - repo-name-parameter:
78 repo-name: '{repo-stream-part}.{repo-os-part}'
82 name: ARCHIVE_ARTIFACTS
83 default: '{archive-artifacts}'
84 description: Artifacts to archive to the logs server.
88 credentials-id: 'jenkins-gerrit-credentials'
89 refspec: '$GERRIT_REFSPEC'
90 choosing-strategy: 'gerrit'
93 - fdio-infra-wrappers:
97 - gerrit-trigger-checkstyle:
100 - gerrit-trigger-patch-submitted:
105 - config-file-provider:
107 - file-id: '.packagecloud'
109 - config-file-provider:
111 - file-id: 'packagecloud_api'
114 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
117 - include-raw-sweetcomb-build.sh
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}'
146 - repo-name-parameter:
147 repo-name: '{repo-stream-part}.{repo-os-part}'
149 name: ARCHIVE_ARTIFACTS
150 default: '{archive-artifacts}'
151 description: Artifacts to archive to the logs server.
154 - gerrit-trigger-scm:
155 credentials-id: 'jenkins-gerrit-credentials'
157 choosing-strategy: 'default'
160 - fdio-infra-wrappers:
161 build-timeout: '{build-timeout}'
164 - gerrit-trigger-patch-merged:
169 - config-file-provider:
171 - file-id: '.packagecloud'
173 - config-file-provider:
175 - file-id: 'packagecloud_api'
178 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
181 - include-raw-sweetcomb-build.sh
184 - ../scripts/packagecloud_push.sh
188 rerun-unstable-builds: false
193 name: 'sweetcomb-test-{stream}-ubuntu1604'
195 project-type: freestyle
196 node: 'ubuntu1604-us'
200 daysToKeep: '{build-days-to-keep}'
202 artifactDaysToKeep: '{build-artifact-days-to-keep}'
203 artifactNumToKeep: '{build-artifact-num-to-keep}'
212 - repo-name-parameter:
213 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
218 - gerrit-trigger-scm:
219 credentials-id: 'jenkins-gerrit-credentials'
220 refspec: '$GERRIT_REFSPEC'
221 choosing-strategy: 'gerrit'
224 - fdio-infra-wrappers:
228 - gerrit-trigger-patch-submitted:
233 - config-file-provider:
235 - file-id: '.packagecloud'
237 - config-file-provider:
239 - file-id: 'packagecloud_api'
243 - include-raw-sweetcomb-build.sh
244 - include-raw-sweetcomb-test.sh
248 rerun-unstable-builds: false
254 project-name: sweetcomb
256 - gerrit-info-yaml-verify
257 build-node: centos7-builder-4c-4g