2 #########################################################################
4 # Copyright (c) 2019 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 - 'udpi-verify-{stream}-{os}'
22 - 'udpi-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.2001'
45 name: 'udpi-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}'
69 name: ARCHIVE_ARTIFACTS
70 default: '{archive-artifacts}'
71 description: Artifacts to archive to the logs server.
75 credentials-id: 'jenkins-gerrit-credentials'
76 refspec: '$GERRIT_REFSPEC'
77 choosing-strategy: 'gerrit'
80 - fdio-infra-wrappers:
84 - gerrit-trigger-checkstyle:
87 - gerrit-trigger-patch-submitted:
92 - config-file-provider:
94 - file-id: '.packagecloud'
96 - config-file-provider:
98 - file-id: 'packagecloud_api'
101 !include-raw-escape: include-raw-udpi-checkstyle.sh
104 - include-raw-udpi-build.sh
108 rerun-unstable-builds: false
112 name: 'udpi-merge-{stream}-{os}'
114 project-type: freestyle
118 daysToKeep: '{build-days-to-keep}'
120 artifactDaysToKeep: '{build-artifact-days-to-keep}'
121 artifactNumToKeep: '{build-artifact-num-to-keep}'
132 - repo-name-parameter:
133 repo-name: '{repo-stream-part}.{repo-os-part}'
135 name: ARCHIVE_ARTIFACTS
136 default: '{archive-artifacts}'
137 description: Artifacts to archive to the logs server.
140 - gerrit-trigger-scm:
141 credentials-id: 'jenkins-gerrit-credentials'
143 choosing-strategy: 'default'
146 - fdio-infra-wrappers:
147 build-timeout: '{build-timeout}'
150 - gerrit-trigger-patch-merged:
155 - config-file-provider:
157 - file-id: '.packagecloud'
159 - config-file-provider:
161 - file-id: 'packagecloud_api'
164 !include-raw-escape: include-raw-udpi-checkstyle.sh
167 - include-raw-udpi-build.sh
170 - ../scripts/packagecloud_push.sh
176 rerun-unstable-builds: false
183 - gerrit-info-yaml-verify
184 build-node: centos7-builder-4c-4g