2 # vim: sw=2 ts=2 sts=2 et :
6 # Job template for verifying a submission. triggered on
7 # gerrit-trigger-patch-submitted, does scm, mvn with passed in goals,
12 # script: build script to execute
13 # mvn-settings: settings file for this specific job
14 # mvn-goals: space separated list of maven build goals (e.g.
15 # clean, install etc, --version for noop)
16 name: '{project-name}-{stream}-verify-scm-mvn-script'
18 project-type: freestyle
20 node: 'ubuntu1604-docker-8c-8g'
23 - ecomp-infra-properties:
24 build-days-to-keep: '{build-days-to-keep}'
27 - ecomp-infra-parameters:
30 refspec: 'refs/heads/{branch}'
31 artifacts: '{archive-artifacts}'
35 refspec: '$GERRIT_REFSPEC'
36 choosing-strategy: 'gerrit'
39 - ecomp-infra-wrappers:
40 build-timeout: '{build-timeout}'
43 - gerrit-trigger-patch-submitted:
44 server: '{server-name}'
50 - provide-maven-settings:
51 global-settings-file: 'global-settings'
52 settings-file: '{mvn-settings}'
54 maven-version: 'mvn33'
56 settings: '{mvn-settings}'
58 global-settings: 'global-settings'
59 global-settings-type: cfp
65 # Job template for merging a submission. triggered on
66 # gerrit-trigger-patch-merged, does scm, mvn with passed-in goals, then
70 # script: build script to execute
71 # mvn-settings: settings file for this specific job
72 # mvn-goals: space separated list of maven build goals (--version
73 # for noop, clean deploy for deploy [snapshot])
74 name: '{project-name}-{stream}-merge-scm-mvn-script'
76 project-type: freestyle
77 node: 'ubuntu1604-docker-8c-8g'
80 - ecomp-infra-properties:
81 build-days-to-keep: '{build-days-to-keep}'
84 - ecomp-infra-parameters:
87 refspec: 'refs/heads/{branch}'
88 artifacts: '{archive-artifacts}'
93 choosing-strategy: 'default'
96 - ecomp-infra-wrappers:
97 build-timeout: '{build-timeout}'
100 - gerrit-trigger-patch-merged:
101 server: '{server-name}'
107 - provide-maven-settings:
108 global-settings-file: 'global-settings'
109 settings-file: '{mvn-settings}'
111 maven-version: 'mvn33'
113 settings: '{mvn-settings}'
115 global-settings: 'global-settings'
116 global-settings-type: cfp
122 # Job template for daily-release a submission. triggered on timer, does
123 # scm mvn with passed-in goals, then run script
125 # Required Variables:
127 # script: build script to execute
128 # mvn-goals-versioning: space separated list of maven build goals
129 # (--version for no op,
130 # or versions:set versions:update-child-modules versions:commit)
131 # mvn-goals: space separated list of maven build goals (--version for
132 # noop, or clean deploy)
133 name: '{project-name}-{stream}-daily-release-scm-mvn-script'
135 project-type: freestyle
137 node: 'ubuntu1604-docker-8c-8g'
140 - ecomp-infra-properties:
141 build-days-to-keep: '{build-days-to-keep}'
144 - ecomp-infra-parameters:
147 refspec: 'refs/heads/{branch}'
148 artifacts: '{archive-artifacts}'
151 - gerrit-trigger-scm:
153 choosing-strategy: 'default'
156 - ecomp-infra-wrappers:
157 build-timeout: '{build-timeout}'
161 - timed: 'H 11 * * *'
164 - provide-maven-settings:
165 global-settings-file: 'global-settings'
166 settings-file: '{mvn-settings}'
168 properties-file: version.properties
170 maven-version: 'mvn33'
171 goals: '{mvn-goals-versioning}'
173 - 'newVersion=${{release_version}}'
174 settings: '{mvn-settings}'
176 global-settings: 'global-settings'
177 global-settings-type: cfp
180 maven-version: 'mvn33'
183 - '{maven-deploy-properties}'
184 settings: '{mvn-settings}'
186 global-settings: 'global-settings'
187 global-settings-type: cfp
193 # Job template for verifying a submission. triggered on
194 # gerrit-trigger-patch-submitted,
195 # does scm 2 repos, mvn with passed-in goals, then run script
197 # Required Variables:
199 # script: build script to execute
200 # extra-project: extra gerrit project to checkout
201 # extra-refspec: refspec for the extra project
202 # extra-branch: branch to checkout for the extra project
203 # checkout-dir: directory to checkout the extra project to
204 # DO NOT SET THIS TO anything that translates to
205 # $WORKSPACE as it will destroy the initial
207 # mvn-goals: space separated list of maven build goals (e.g.
208 # clean, install etc, --version for noop)
210 name: '{project-name}-{stream}-verify-2scm-mvn-script'
212 project-type: freestyle
214 node: 'ubuntu1604-docker-8c-8g'
217 - ecomp-infra-properties:
218 build-days-to-keep: '{build-days-to-keep}'
221 - ecomp-infra-parameters:
224 refspec: 'refs/heads/{branch}'
225 artifacts: '{archive-artifacts}'
228 - gerrit-trigger-scm:
229 refspec: '$GERRIT_REFSPEC'
230 choosing-strategy: 'gerrit'
232 project: '{extra-project}'
233 refspec: '{extra-refspec}'
234 branch: '{extra-branch}'
235 checkout-dir: '{checkout-dir}'
238 - ecomp-infra-wrappers:
239 build-timeout: '{build-timeout}'
242 - gerrit-trigger-patch-submitted:
243 server: '{server-name}'
249 - provide-maven-settings:
250 global-settings-file: 'global-settings'
251 settings-file: '{mvn-settings}'
253 maven-version: 'mvn33'
255 settings: '{mvn-settings}'
257 global-settings: 'global-settings'
258 global-settings-type: cfp
264 # Job template for merged submission. triggered on
265 # gerrit-trigger-patch-merged,does scm of 2 repos, mvn with passed in
266 # goals, then run script
268 # Required Variables:
270 # script: build script to execute
271 # extra-project: extra gerrit project to checkout
272 # extra-refspec: refspec for the extra project
273 # extra-branch: branch to checkout for the extra project
274 # checkout-dir: directory to checkout the extra project to
275 # DO NOT SET THIS TO anything that translates to
276 # $WORKSPACE as it will destroy the initial
278 # mvn-goals: space separated list of maven build goals (--version
279 # for noop, clean deploy for mvn project)
281 name: '{project-name}-{stream}-merge-2scm-mvn-script'
283 project-type: freestyle
285 node: 'ubuntu1604-docker-8c-8g'
288 - ecomp-infra-properties:
289 build-days-to-keep: '{build-days-to-keep}'
292 - ecomp-infra-parameters:
295 refspec: 'refs/heads/{branch}'
296 artifacts: '{archive-artifacts}'
299 - gerrit-trigger-scm:
301 choosing-strategy: 'default'
303 project: '{extra-project}'
304 refspec: '{extra-refspec}'
305 branch: '{extra-branch}'
306 checkout-dir: '{checkout-dir}'
309 - ecomp-infra-wrappers:
310 build-timeout: '{build-timeout}'
313 - gerrit-trigger-patch-merged:
314 server: '{server-name}'
320 - provide-maven-settings:
321 global-settings-file: 'global-settings'
322 settings-file: '{mvn-settings}'
324 maven-version: 'mvn33'
326 settings: '{mvn-settings}'
328 global-settings: 'global-settings'
329 global-settings-type: cfp
335 # Job template for merged submission. triggered on
336 # gerrit-trigger-patch-merged, does scm x2, mvn with passed-in goals,
339 # Required Variables:
341 # script: build script to execute
342 # extra-project: extra gerrit project to checkout
343 # extra-refspec: refspec for the extra project
344 # extra-branch: branch to checkout for the extra project
345 # checkout-dir: directory to checkout the extra project to
346 # DO NOT SET THIS TO anything that translates to
347 # $WORKSPACE as it will destroy the initial
349 # mvn-goals: space separated list of maven build goals (--version
350 # for noop, clean deploy for mvn project)
351 # mvn-goals-versioning: space separated list of maven build goals
352 # (--version for no op, clean deploy for mvn project)
354 name: '{project-name}-{stream}-daily-release-2scm-mvn-script'
356 project-type: freestyle
357 node: 'ubuntu1604-docker-8c-8g'
360 - ecomp-infra-properties:
361 build-days-to-keep: '{build-days-to-keep}'
364 - ecomp-infra-parameters:
367 refspec: 'refs/heads/{branch}'
368 artifacts: '{archive-artifacts}'
371 - gerrit-trigger-scm:
373 choosing-strategy: 'default'
375 project: '{extra-project}'
376 refspec: '{extra-refspec}'
377 branch: '{extra-branch}'
378 checkout-dir: '{checkout-dir}'
381 - ecomp-infra-wrappers:
382 build-timeout: '{build-timeout}'
385 - timed: 'H 11 * * *'
388 - provide-maven-settings:
389 global-settings-file: 'global-settings'
390 settings-file: '{mvn-settings}'
392 properties-file: version.properties
394 maven-version: 'mvn33'
395 goals: '{mvn-goals-versioning}'
397 - 'newVersion=${{release_version}}'
398 settings: '{mvn-settings}'
400 global-settings: 'global-settings'
401 global-settings-type: cfp
404 maven-version: 'mvn33'
406 settings: '{mvn-settings}'
408 global-settings: 'global-settings'
409 global-settings-type: cfp
415 # Job template for basic scm and script trigger
417 # Required Variables:
419 # build-node: what build node to run on
420 # script: build script to execute
422 name: '{project-name}-{stream}-verify-script'
424 project-type: freestyle
429 - ecomp-infra-properties:
430 build-days-to-keep: '{build-days-to-keep}'
433 - ecomp-infra-parameters:
436 refspec: 'refs/heads/{branch}'
437 artifacts: '{archive-artifacts}'
440 - gerrit-trigger-scm:
441 refspec: '$GERRIT_REFSPEC'
442 choosing-strategy: 'gerrit'
445 - ecomp-infra-wrappers:
446 build-timeout: '{build-timeout}'
449 - gerrit-trigger-patch-submitted:
450 server: '{server-name}'
456 - provide-maven-settings:
457 global-settings-file: 'global-settings'
458 settings-file: '{mvn-settings}'
459 # make sure maven gets installed / setup
461 maven-version: 'mvn33'
463 settings: '{mvn-settings}'
465 global-settings: 'global-settings'
466 global-settings-type: cfp
470 # - ecomp-infra-shiplogs:
471 # maven-version: 'mvn33'
474 # Job template for 2 scm and script trigger
476 # Required Variables:
478 # build-node: what build node to run on
479 # script: build script to execute
480 # extra-project: extra gerrit project to checkout
481 # extra-refspec: refspec for the extra project
482 # extra-branch: branch to checkout for the extra project
483 # checkout-dir: directory to checkout the extra project to
484 # DO NOT SET THIS TO anything that translates to
485 # $WORKSPACE as it will destroy the initial
488 name: '{project-name}-{stream}-two-scm-verify-script'
490 project-type: freestyle
495 - ecomp-infra-properties:
496 build-days-to-keep: '{build-days-to-keep}'
499 - ecomp-infra-parameters:
502 refspec: 'refs/heads/{branch}'
503 artifacts: '{archive-artifacts}'
506 - gerrit-trigger-scm:
507 refspec: '$GERRIT_REFSPEC'
508 choosing-strategy: 'gerrit'
510 project: '{extra-project}'
511 refspec: '{extra-refspec}'
512 branch: '{extra-branch}'
513 checkout-dir: '{checkout-dir}'
516 - ecomp-infra-wrappers:
517 build-timeout: '{build-timeout}'
520 - gerrit-trigger-patch-submitted:
521 server: '{server-name}'
527 - provide-maven-settings:
528 global-settings-file: 'global-settings'
529 settings-file: '{mvn-settings}'
530 # make sure maven gets installed / setup
532 maven-version: 'mvn33'
534 settings: '{mvn-settings}'
536 global-settings: 'global-settings'
537 global-settings-type: cfp
541 # - ecomp-infra-shiplogs:
542 # maven-version: 'mvn33'
546 # Job template for 3 scm and script trigger
548 # Required Variables:
550 # build-node: what build node to run on
551 # script: build script to execute
552 # extra-project1: extra gerrit project to checkout
553 # extra-refspec1: refspec for the extra project
554 # extra-branch1: branch to checkout for the extra project
555 # checkout-dir1: directory to checkout the extra project to
556 # DO NOT SET THIS TO anything that translates to
557 # $WORKSPACE as it will destroy the initial
559 # extra-project2: extra gerrit project to checkout
560 # extra-refspec2: refspec for the extra project
561 # extra-branch2: branch to checkout for the extra project
562 # checkout-dir2: directory to checkout the extra project to
563 # DO NOT SET THIS TO anything that translates to
564 # $WORKSPACE as it will destroy the initial
566 name: '{project-name}-{stream}-three-scm-verify-script'
568 project-type: freestyle
573 - ecomp-infra-properties:
574 build-days-to-keep: '{build-days-to-keep}'
577 - ecomp-infra-parameters:
580 refspec: 'refs/heads/{branch}'
581 artifacts: '{archive-artifacts}'
583 maven-version: 'mvn33'
585 - gerrit-trigger-scm:
586 refspec: '$GERRIT_REFSPEC'
587 choosing-strategy: 'gerrit'
589 project: '{extra-project1}'
590 refspec: '{extra-refspec1}'
591 branch: '{extra-branch1}'
592 checkout-dir: '{checkout-dir1}'
594 project: '{extra-project2}'
595 refspec: '{extra-refspec2}'
596 branch: '{extra-branch2}'
597 checkout-dir: '{checkout-dir2}'
600 - ecomp-infra-wrappers:
601 build-timeout: '{build-timeout}'
604 - gerrit-trigger-patch-submitted:
605 server: '{server-name}'
611 - provide-maven-settings:
612 global-settings-file: 'global-settings'
613 settings-file: '{mvn-settings}'
614 # make sure maven gets installed / setup
616 maven-version: 'mvn33'
618 settings: '{mvn-settings}'
620 global-settings: 'global-settings'
621 global-settings-type: cfp
625 # - ecomp-infra-shiplogs:
626 # maven-version: 'mvn33'
628 # vim: sw=2 ts=2 sts=2 et :
631 # Job template for scm and script trigger - for docker merge
633 # Required Variables:
635 # build-node: what build node to run on
636 # script: build script to execute
638 name: '{project-name}-{stream}-merge-docker-script'
640 project-type: freestyle
645 - ecomp-infra-properties:
646 build-days-to-keep: '{build-days-to-keep}'
649 - ecomp-infra-parameters:
652 refspec: 'refs/heads/{branch}'
653 artifacts: '{archive-artifacts}'
655 maven-version: 'mvn33'
658 - gerrit-trigger-scm:
660 choosing-strategy: 'default'
662 project: '{extra-project1}'
663 refspec: '{extra-refspec1}'
664 branch: '{extra-branch1}'
665 checkout-dir: '{checkout-dir1}'
667 project: '{extra-project2}'
668 refspec: '{extra-refspec2}'
669 branch: '{extra-branch2}'
670 checkout-dir: '{checkout-dir2}'
673 - ecomp-infra-wrappers:
674 build-timeout: '{build-timeout}'
677 - gerrit-trigger-patch-merged:
678 server: '{server-name}'
684 - provide-maven-settings:
685 global-settings-file: 'global-settings'
686 settings-file: '{mvn-settings}'
688 # make sure maven gets installed / setup
690 maven-version: 'mvn33'
692 settings: '{mvn-settings}'
694 global-settings: 'global-settings'
695 global-settings-type: cfp
699 # - ecomp-infra-shiplogs:
700 # maven-version: 'mvn33'