5 - 'hc2vpp-verify-{stream}-{os}'
6 - 'hc2vpp-merge-{stream}-{os}'
7 - 'hc2vpp-integration-{stream}-{os}'
8 - 'hc2vpp-verify-image-{stream}-{os}'
12 repo-os-part: 'ubuntu.xenial.main'
14 skip-jar-deploy: 'false'
16 repo-os-part: 'centos7'
18 skip-jar-deploy: 'true'
22 repo-stream-part: 'master'
25 repo-stream-part: 'stable.1807'
28 repo-stream-part: 'stable.1810'
31 repo-stream-part: 'stable.1901'
40 name: 'hc2vpp-verify-{stream}-{os}'
42 node: '{os}-basebuild-4c-4g'
47 daysToKeep: '{build-days-to-keep}'
48 numToKeep: '{build-num-to-keep}'
49 artifactDaysToKeep: '{build-artifact-days-to-keep}'
50 artifactNumToKeep: '{build-artifact-num-to-keep}'
62 credentials-id: 'jenkins-gerrit-credentials'
63 refspec: '$GERRIT_REFSPEC'
64 choosing-strategy: 'gerrit'
67 - fdio-infra-wrappers:
68 build-timeout: '{build-timeout}'
71 - gerrit-trigger-patch-submitted:
76 maven-name: 'mvn33-new'
78 # yamllint disable-line rule:line-length
79 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge site'
80 maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
81 settings: 'hc2vpp-settings'
83 global-settings: 'global-settings'
84 global-settings-type: cfp
88 email-prefix: '[hc2vpp]'
89 - fdio-infra-shiplogs:
90 maven-version: 'mvn33-new'
93 name: 'hc2vpp-verify-image-{stream}-{os}'
95 node: '{os}-basebuild-4c-4g'
100 daysToKeep: '{build-days-to-keep}'
101 numToKeep: '{build-num-to-keep}'
102 artifactDaysToKeep: '{build-artifact-days-to-keep}'
103 artifactNumToKeep: '{build-artifact-num-to-keep}'
114 - gerrit-trigger-scm:
115 credentials-id: 'jenkins-gerrit-credentials'
116 refspec: '$GERRIT_REFSPEC'
117 choosing-strategy: 'gerrit'
120 - fdio-infra-wrappers:
121 build-timeout: '{build-timeout}'
125 server-name: 'Primary'
127 - comment-added-contains-event:
128 comment-contains-value: 'verify-images'
130 - project-compare-type: 'ANT'
131 project-pattern: '{project}'
133 - branch-compare-type: 'ANT'
134 branch-pattern: '**/{branch}'
142 maven-name: 'mvn33-new'
144 # yamllint disable-line rule:line-length
145 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
146 maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
147 settings: 'hc2vpp-settings'
149 global-settings: 'global-settings'
150 global-settings-type: cfp
153 - email-notification:
154 email-prefix: '[hc2vpp]'
155 - fdio-infra-shiplogs:
156 maven-version: 'mvn33-new'
159 name: 'hc2vpp-merge-{stream}-{os}'
161 node: '{os}-basebuild-4c-4g'
165 daysToKeep: '{build-days-to-keep}'
166 numToKeep: '{build-num-to-keep}'
167 artifactDaysToKeep: '{build-artifact-days-to-keep}'
168 artifactNumToKeep: '{build-artifact-num-to-keep}'
175 - maven-project-parameter:
178 maven-version: 'mvn33-new'
179 - repo-name-parameter:
180 repo-name: '{repo-stream-part}.{repo-os-part}'
183 - gerrit-trigger-scm:
184 credentials-id: 'jenkins-gerrit-credentials'
186 choosing-strategy: 'default'
189 - ssh-agent-credentials:
191 - 'jenkins-gerrit-credentials'
192 - fdio-infra-wrappers:
193 build-timeout: '{build-timeout}'
196 - gerrit-trigger-patch-merged:
201 maven-name: 'mvn33-new'
203 # yamllint disable-line rule:line-length
204 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dsonar -Ddocs.hc.folder=io/fd/hc2vpp -Dmaven.site.skip={skip-site} site -Dmaven.site.deploy.skip={skip-site} site:deploy'
205 maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
206 settings: 'hc2vpp-settings'
208 global-settings: 'global-settings'
209 global-settings-type: cfp
219 - email-notification:
220 email-prefix: '[hc2vpp]'
221 - fdio-infra-shiplogs:
222 maven-version: 'mvn33-new'
225 name: 'hc2vpp-integration-{stream}-{os}'
227 node: '{os}-basebuild-4c-4g'
231 daysToKeep: '{build-days-to-keep}'
232 numToKeep: '{build-num-to-keep}'
233 artifactDaysToKeep: '{build-artifact-days-to-keep}'
234 artifactNumToKeep: '{build-artifact-num-to-keep}'
243 - maven-project-parameter:
246 maven-version: 'mvn33-new'
247 - repo-name-parameter:
248 repo-name: '{repo-stream-part}.{repo-os-part}'
250 name: SKIP_JAR_DEPLOY
251 default: '{skip-jar-deploy}'
252 # yamllint disable-line rule:line-length
253 description: "Skips deployment of hc2vpp jars if variable is set to true"
257 credentials-id: 'jenkins-gerrit-credentials'
262 - ssh-agent-credentials:
264 - 'jenkins-gerrit-credentials'
265 - fdio-infra-wrappers:
266 build-timeout: '{build-timeout}'
270 jobs: 'vpp-merge-{stream}-{os},hc2vpp-merge-{stream}-{os}'
274 - config-file-provider:
276 - file-id: '.packagecloud'
277 target: '/home/jenkins'
278 - config-file-provider:
280 - file-id: 'packagecloud_api'
281 target: '/home/jenkins'
284 !include-raw-escape: include-raw-hc2vpp-integration-prebuild.sh
286 maven-name: 'mvn33-new'
288 # yamllint disable-line rule:line-length
289 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
290 maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
291 settings: 'hc2vpp-settings'
293 global-settings: 'global-settings'
294 global-settings-type: cfp
298 maven-version: 'mvn33-new'
300 settings: 'hc2vpp-settings'
302 global-settings: 'global-settings'
303 global-settings-type: cfp
304 - provide-maven-settings:
305 settings-file: 'hc2vpp-settings'
306 global-settings-file: 'global-settings'
309 - ../scripts/maven_push_functions.sh
310 - include-raw-hc2vpp-pkg-push.sh
313 - ../scripts/packagecloud_push.sh
318 - email-notification:
319 email-prefix: '[hc2vpp]'
323 deploy-unstable: false
324 release-env-var: SKIP_JAR_DEPLOY
325 - fdio-infra-shiplogs:
326 maven-version: 'mvn33-new'