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.1908'
40 repo-stream-part: 'stable.1904'
43 repo-stream-part: 'stable.1901'
46 repo-stream-part: 'vom'
52 project-name: sweetcomb
55 name: 'sweetcomb-verify-{stream}-{os}'
57 project-type: freestyle
62 daysToKeep: '{build-days-to-keep}'
64 artifactDaysToKeep: '{build-artifact-days-to-keep}'
65 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 - repo-name-parameter:
75 repo-name: '{repo-stream-part}.{repo-os-part}'
79 name: ARCHIVE_ARTIFACTS
80 default: '{archive-artifacts}'
81 description: Artifacts to archive to the logs server.
85 credentials-id: 'jenkins-gerrit-credentials'
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
90 - fdio-infra-wrappers:
94 - gerrit-trigger-checkstyle:
97 - gerrit-trigger-patch-submitted:
102 - config-file-provider:
104 - file-id: '.packagecloud'
106 - config-file-provider:
108 - file-id: 'packagecloud_api'
111 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
114 - include-raw-sweetcomb-build.sh
118 rerun-unstable-builds: false
123 name: 'sweetcomb-merge-{stream}-{os}'
125 project-type: freestyle
129 daysToKeep: '{build-days-to-keep}'
131 artifactDaysToKeep: '{build-artifact-days-to-keep}'
132 artifactNumToKeep: '{build-artifact-num-to-keep}'
143 - repo-name-parameter:
144 repo-name: '{repo-stream-part}.{repo-os-part}'
146 name: ARCHIVE_ARTIFACTS
147 default: '{archive-artifacts}'
148 description: Artifacts to archive to the logs server.
151 - gerrit-trigger-scm:
152 credentials-id: 'jenkins-gerrit-credentials'
154 choosing-strategy: 'default'
157 - fdio-infra-wrappers:
158 build-timeout: '{build-timeout}'
161 - gerrit-trigger-patch-merged:
166 - config-file-provider:
168 - file-id: '.packagecloud'
170 - config-file-provider:
172 - file-id: 'packagecloud_api'
175 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
178 - include-raw-sweetcomb-build.sh
181 - ../scripts/packagecloud_push.sh
185 rerun-unstable-builds: false
190 name: 'sweetcomb-test-{stream}-ubuntu1604'
192 project-type: freestyle
193 node: 'ubuntu1604-us'
197 daysToKeep: '{build-days-to-keep}'
199 artifactDaysToKeep: '{build-artifact-days-to-keep}'
200 artifactNumToKeep: '{build-artifact-num-to-keep}'
209 - repo-name-parameter:
210 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
215 - gerrit-trigger-scm:
216 credentials-id: 'jenkins-gerrit-credentials'
217 refspec: '$GERRIT_REFSPEC'
218 choosing-strategy: 'gerrit'
221 - fdio-infra-wrappers:
225 - gerrit-trigger-patch-submitted:
230 - config-file-provider:
232 - file-id: '.packagecloud'
234 - config-file-provider:
236 - file-id: 'packagecloud_api'
240 - include-raw-sweetcomb-build.sh
241 - include-raw-sweetcomb-test.sh
245 rerun-unstable-builds: false
251 project-name: sweetcomb
253 - gerrit-info-yaml-verify
254 build-node: centos7-builder-4c-4g