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
116 - fdio-infra-shiplogs:
117 maven-version: 'mvn33-new'
119 rerun-unstable-builds: false
124 name: 'sweetcomb-merge-{stream}-{os}'
126 project-type: freestyle
130 daysToKeep: '{build-days-to-keep}'
132 artifactDaysToKeep: '{build-artifact-days-to-keep}'
133 artifactNumToKeep: '{build-artifact-num-to-keep}'
144 - repo-name-parameter:
145 repo-name: '{repo-stream-part}.{repo-os-part}'
147 name: ARCHIVE_ARTIFACTS
148 default: '{archive-artifacts}'
149 description: Artifacts to archive to the logs server.
152 - gerrit-trigger-scm:
153 credentials-id: 'jenkins-gerrit-credentials'
155 choosing-strategy: 'default'
158 - fdio-infra-wrappers:
159 build-timeout: '{build-timeout}'
162 - gerrit-trigger-patch-merged:
167 - config-file-provider:
169 - file-id: '.packagecloud'
171 - config-file-provider:
173 - file-id: 'packagecloud_api'
176 !include-raw-escape: include-raw-sweetcomb-checkstyle.sh
179 - include-raw-sweetcomb-build.sh
182 - ../scripts/packagecloud_push.sh
184 - fdio-infra-shiplogs:
185 maven-version: 'mvn33-new'
187 rerun-unstable-builds: false
192 name: 'sweetcomb-test-{stream}-ubuntu1604'
194 project-type: freestyle
195 node: 'ubuntu1604-us'
199 daysToKeep: '{build-days-to-keep}'
201 artifactDaysToKeep: '{build-artifact-days-to-keep}'
202 artifactNumToKeep: '{build-artifact-num-to-keep}'
211 - repo-name-parameter:
212 repo-name: '{repo-stream-part}.ubuntu.xenial.main'
217 - gerrit-trigger-scm:
218 credentials-id: 'jenkins-gerrit-credentials'
219 refspec: '$GERRIT_REFSPEC'
220 choosing-strategy: 'gerrit'
223 - fdio-infra-wrappers:
227 - gerrit-trigger-patch-submitted:
232 - config-file-provider:
234 - file-id: '.packagecloud'
236 - config-file-provider:
238 - file-id: 'packagecloud_api'
242 - include-raw-sweetcomb-build.sh
243 - include-raw-sweetcomb-test.sh
245 - fdio-infra-shiplogs:
246 maven-version: 'mvn33-new'
248 rerun-unstable-builds: false
254 project-name: sweetcomb
256 - gerrit-info-yaml-verify
257 build-node: centos7-builder-4c-4g