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}'
27 repo-os-part: 'ubuntu.xenial.main'
29 repo-os-part: 'centos7'
33 repo-stream-part: 'master'
36 repo-stream-part: 'stable.1901'
42 project-name: sweetcomb
45 name: 'sweetcomb-verify-{stream}-{os}'
47 project-type: freestyle
52 daysToKeep: '{build-days-to-keep}'
54 artifactDaysToKeep: '{build-artifact-days-to-keep}'
55 artifactNumToKeep: '{build-artifact-num-to-keep}'
64 - repo-name-parameter:
65 repo-name: '{repo-stream-part}.{repo-os-part}'
71 credentials-id: 'jenkins-gerrit-credentials'
72 refspec: '$GERRIT_REFSPEC'
73 choosing-strategy: 'gerrit'
76 - fdio-infra-wrappers:
80 - gerrit-trigger-patch-submitted:
85 - fdio-infra-shiplogs:
86 maven-version: 'mvn33-new'
89 name: 'sweetcomb-merge-{stream}-{os}'
91 project-type: freestyle
95 daysToKeep: '{build-days-to-keep}'
97 artifactDaysToKeep: '{build-artifact-days-to-keep}'
98 artifactNumToKeep: '{build-artifact-num-to-keep}'
109 - repo-name-parameter:
110 repo-name: '{repo-stream-part}.{repo-os-part}'
113 - gerrit-trigger-scm:
114 credentials-id: 'jenkins-gerrit-credentials'
116 choosing-strategy: 'default'
119 - fdio-infra-wrappers:
120 build-timeout: '{build-timeout}'
123 - gerrit-trigger-patch-merged:
128 - config-file-provider:
130 - file-id: '.packagecloud'
132 - config-file-provider:
134 - file-id: 'packagecloud_api'
138 - include-raw-sweetcomb-build.sh
141 - ../scripts/packagecloud_push.sh
149 only-if-success: true
150 default-excludes: false
151 - fdio-infra-shiplogs:
152 maven-version: 'mvn33-new'
154 rerun-unstable-builds: false