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}'
33 maven-version: 'mvn33'
37 refspec: '$GERRIT_REFSPEC'
38 choosing-strategy: 'gerrit'
41 - ecomp-infra-wrappers:
42 build-timeout: '{build-timeout}'
45 - gerrit-trigger-patch-submitted:
46 server: '{server-name}'
52 - provide-maven-settings:
53 global-settings-file: 'global-settings'
54 settings-file: '{mvn-settings}'
56 maven-version: 'mvn33'
58 settings: '{mvn-settings}'
60 global-settings: 'global-settings'
61 global-settings-type: cfp
67 # Job template for merging a submission. triggered on
68 # gerrit-trigger-patch-merged, does scm, mvn with passed-in goals, then
72 # script: build script to execute
73 # mvn-settings: settings file for this specific job
74 # mvn-goals: space separated list of maven build goals (--version
75 # for noop, clean deploy for deploy [snapshot])
76 name: '{project-name}-{stream}-merge-scm-mvn-script'
78 project-type: freestyle
79 node: 'ubuntu1604-docker-8c-8g'
82 - ecomp-infra-properties:
83 build-days-to-keep: '{build-days-to-keep}'
86 - ecomp-infra-parameters:
89 refspec: 'refs/heads/{branch}'
90 artifacts: '{archive-artifacts}'
92 maven-version: 'mvn33'
97 choosing-strategy: 'default'
100 - ecomp-infra-wrappers:
101 build-timeout: '{build-timeout}'
104 - gerrit-trigger-patch-merged:
105 server: '{server-name}'
111 - provide-maven-settings:
112 global-settings-file: 'global-settings'
113 settings-file: '{mvn-settings}'
115 maven-version: 'mvn33'
117 settings: '{mvn-settings}'
119 global-settings: 'global-settings'
120 global-settings-type: cfp
126 # Job template for daily-release a submission. triggered on timer, does
127 # scm mvn with passed-in goals, then run script
129 # Required Variables:
131 # script: build script to execute
132 # mvn-goals-versioning: space separated list of maven build goals
133 # (--version for no op,
134 # or versions:set versions:update-child-modules versions:commit)
135 # mvn-goals: space separated list of maven build goals (--version for
136 # noop, or clean deploy)
137 name: '{project-name}-{stream}-daily-release-scm-mvn-script'
139 project-type: freestyle
141 node: 'ubuntu1604-docker-8c-8g'
144 - ecomp-infra-properties:
145 build-days-to-keep: '{build-days-to-keep}'
148 - ecomp-infra-parameters:
151 refspec: 'refs/heads/{branch}'
152 artifacts: '{archive-artifacts}'
154 maven-version: 'mvn33'
157 - gerrit-trigger-scm:
159 choosing-strategy: 'default'
162 - ecomp-infra-wrappers:
163 build-timeout: '{build-timeout}'
167 - timed: 'H 11 * * *'
168 - gerrit-trigger-release-manually:
169 server: '{server-name}'
174 - provide-maven-settings:
175 global-settings-file: 'global-settings'
176 settings-file: '{mvn-settings}'
178 properties-file: version.properties
180 maven-version: 'mvn33'
181 goals: '{mvn-goals-versioning}'
183 - 'newVersion=${{release_version}}'
184 settings: '{mvn-settings}'
186 global-settings: 'global-settings'
187 global-settings-type: cfp
190 maven-version: 'mvn33'
193 - '{maven-deploy-properties}'
194 settings: '{mvn-settings}'
196 global-settings: 'global-settings'
197 global-settings-type: cfp
203 # Job template for verifying a submission. triggered on
204 # gerrit-trigger-patch-submitted,
205 # does scm 2 repos, mvn with passed-in goals, then run script
207 # Required Variables:
209 # script: build script to execute
210 # extra-project: extra gerrit project to checkout
211 # extra-refspec: refspec for the extra project
212 # extra-branch: branch to checkout for the extra project
213 # checkout-dir: directory to checkout the extra project to
214 # DO NOT SET THIS TO anything that translates to
215 # $WORKSPACE as it will destroy the initial
217 # mvn-goals: space separated list of maven build goals (e.g.
218 # clean, install etc, --version for noop)
220 name: '{project-name}-{stream}-verify-2scm-mvn-script'
222 project-type: freestyle
224 node: 'ubuntu1604-docker-8c-8g'
227 - ecomp-infra-properties:
228 build-days-to-keep: '{build-days-to-keep}'
231 - ecomp-infra-parameters:
234 refspec: 'refs/heads/{branch}'
235 artifacts: '{archive-artifacts}'
237 maven-version: 'mvn33'
240 - gerrit-trigger-scm:
241 refspec: '$GERRIT_REFSPEC'
242 choosing-strategy: 'gerrit'
244 project: '{extra-project}'
245 refspec: '{extra-refspec}'
246 branch: '{extra-branch}'
247 checkout-dir: '{checkout-dir}'
250 - ecomp-infra-wrappers:
251 build-timeout: '{build-timeout}'
254 - gerrit-trigger-patch-submitted:
255 server: '{server-name}'
261 - provide-maven-settings:
262 global-settings-file: 'global-settings'
263 settings-file: '{mvn-settings}'
265 maven-version: 'mvn33'
267 settings: '{mvn-settings}'
269 global-settings: 'global-settings'
270 global-settings-type: cfp
276 # Job template for merged submission. triggered on
277 # gerrit-trigger-patch-merged,does scm of 2 repos, mvn with passed in
278 # goals, then run script
280 # Required Variables:
282 # script: build script to execute
283 # extra-project: extra gerrit project to checkout
284 # extra-refspec: refspec for the extra project
285 # extra-branch: branch to checkout for the extra project
286 # checkout-dir: directory to checkout the extra project to
287 # DO NOT SET THIS TO anything that translates to
288 # $WORKSPACE as it will destroy the initial
290 # mvn-goals: space separated list of maven build goals (--version
291 # for noop, clean deploy for mvn project)
293 name: '{project-name}-{stream}-merge-2scm-mvn-script'
295 project-type: freestyle
297 node: 'ubuntu1604-docker-8c-8g'
300 - ecomp-infra-properties:
301 build-days-to-keep: '{build-days-to-keep}'
304 - ecomp-infra-parameters:
307 refspec: 'refs/heads/{branch}'
308 artifacts: '{archive-artifacts}'
310 maven-version: 'mvn33'
313 - gerrit-trigger-scm:
315 choosing-strategy: 'default'
317 project: '{extra-project}'
318 refspec: '{extra-refspec}'
319 branch: '{extra-branch}'
320 checkout-dir: '{checkout-dir}'
323 - ecomp-infra-wrappers:
324 build-timeout: '{build-timeout}'
327 - gerrit-trigger-patch-merged:
328 server: '{server-name}'
334 - provide-maven-settings:
335 global-settings-file: 'global-settings'
336 settings-file: '{mvn-settings}'
338 maven-version: 'mvn33'
340 settings: '{mvn-settings}'
342 global-settings: 'global-settings'
343 global-settings-type: cfp
349 # Job template for merged submission. triggered on
350 # gerrit-trigger-patch-merged, does scm x2, mvn with passed-in goals,
353 # Required Variables:
355 # script: build script to execute
356 # extra-project: extra gerrit project to checkout
357 # extra-refspec: refspec for the extra project
358 # extra-branch: branch to checkout for the extra project
359 # checkout-dir: directory to checkout the extra project to
360 # DO NOT SET THIS TO anything that translates to
361 # $WORKSPACE as it will destroy the initial
363 # mvn-goals: space separated list of maven build goals (--version
364 # for noop, clean deploy for mvn project)
365 # mvn-goals-versioning: space separated list of maven build goals
366 # (--version for no op, clean deploy for mvn project)
368 name: '{project-name}-{stream}-daily-release-2scm-mvn-script'
370 project-type: freestyle
371 node: 'ubuntu1604-docker-8c-8g'
374 - ecomp-infra-properties:
375 build-days-to-keep: '{build-days-to-keep}'
378 - ecomp-infra-parameters:
381 refspec: 'refs/heads/{branch}'
382 artifacts: '{archive-artifacts}'
384 maven-version: 'mvn33'
387 - gerrit-trigger-scm:
389 choosing-strategy: 'default'
391 project: '{extra-project}'
392 refspec: '{extra-refspec}'
393 branch: '{extra-branch}'
394 checkout-dir: '{checkout-dir}'
397 - ecomp-infra-wrappers:
398 build-timeout: '{build-timeout}'
401 - timed: 'H 11 * * *'
402 - gerrit-trigger-release-manually:
403 server: '{server-name}'
408 - provide-maven-settings:
409 global-settings-file: 'global-settings'
410 settings-file: '{mvn-settings}'
412 properties-file: version.properties
414 maven-version: 'mvn33'
415 goals: '{mvn-goals-versioning}'
417 - 'newVersion=${{release_version}}'
418 settings: '{mvn-settings}'
420 global-settings: 'global-settings'
421 global-settings-type: cfp
424 maven-version: 'mvn33'
426 settings: '{mvn-settings}'
428 global-settings: 'global-settings'
429 global-settings-type: cfp
435 # Job template for basic scm and script trigger
437 # Required Variables:
439 # build-node: what build node to run on
440 # script: build script to execute
442 name: '{project-name}-{stream}-verify-script'
444 project-type: freestyle
449 - ecomp-infra-properties:
450 build-days-to-keep: '{build-days-to-keep}'
453 - ecomp-infra-parameters:
456 refspec: 'refs/heads/{branch}'
457 artifacts: '{archive-artifacts}'
459 maven-version: 'mvn33'
462 - gerrit-trigger-scm:
463 refspec: '$GERRIT_REFSPEC'
464 choosing-strategy: 'gerrit'
467 - ecomp-infra-wrappers:
468 build-timeout: '{build-timeout}'
471 - gerrit-trigger-patch-submitted:
472 server: '{server-name}'
478 - provide-maven-settings:
479 global-settings-file: 'global-settings'
480 settings-file: '{mvn-settings}'
481 # make sure maven gets installed / setup
483 maven-version: 'mvn33'
485 settings: '{mvn-settings}'
487 global-settings: 'global-settings'
488 global-settings-type: cfp
492 # - ecomp-infra-shiplogs:
493 # maven-version: 'mvn33'
496 # Job template for 2 scm and script trigger
498 # Required Variables:
500 # build-node: what build node to run on
501 # script: build script to execute
502 # extra-project: extra gerrit project to checkout
503 # extra-refspec: refspec for the extra project
504 # extra-branch: branch to checkout for the extra project
505 # checkout-dir: directory to checkout the extra project to
506 # DO NOT SET THIS TO anything that translates to
507 # $WORKSPACE as it will destroy the initial
510 name: '{project-name}-{stream}-two-scm-verify-script'
512 project-type: freestyle
517 - ecomp-infra-properties:
518 build-days-to-keep: '{build-days-to-keep}'
521 - ecomp-infra-parameters:
524 refspec: 'refs/heads/{branch}'
525 artifacts: '{archive-artifacts}'
527 maven-version: 'mvn33'
530 - gerrit-trigger-scm:
531 refspec: '$GERRIT_REFSPEC'
532 choosing-strategy: 'gerrit'
534 project: '{extra-project}'
535 refspec: '{extra-refspec}'
536 branch: '{extra-branch}'
537 checkout-dir: '{checkout-dir}'
540 - ecomp-infra-wrappers:
541 build-timeout: '{build-timeout}'
544 - gerrit-trigger-patch-submitted:
545 server: '{server-name}'
551 - provide-maven-settings:
552 global-settings-file: 'global-settings'
553 settings-file: '{mvn-settings}'
554 # make sure maven gets installed / setup
556 maven-version: 'mvn33'
558 settings: '{mvn-settings}'
560 global-settings: 'global-settings'
561 global-settings-type: cfp
565 # - ecomp-infra-shiplogs:
566 # maven-version: 'mvn33'
570 # Job template for 3 scm and script trigger
572 # Required Variables:
574 # build-node: what build node to run on
575 # script: build script to execute
576 # extra-project1: extra gerrit project to checkout
577 # extra-refspec1: refspec for the extra project
578 # extra-branch1: branch to checkout for the extra project
579 # checkout-dir1: directory to checkout the extra project to
580 # DO NOT SET THIS TO anything that translates to
581 # $WORKSPACE as it will destroy the initial
583 # extra-project2: extra gerrit project to checkout
584 # extra-refspec2: refspec for the extra project
585 # extra-branch2: branch to checkout for the extra project
586 # checkout-dir2: directory to checkout the extra project to
587 # DO NOT SET THIS TO anything that translates to
588 # $WORKSPACE as it will destroy the initial
590 name: '{project-name}-{stream}-three-scm-verify-script'
592 project-type: freestyle
597 - ecomp-infra-properties:
598 build-days-to-keep: '{build-days-to-keep}'
601 - ecomp-infra-parameters:
604 refspec: 'refs/heads/{branch}'
605 artifacts: '{archive-artifacts}'
607 maven-version: 'mvn33'
609 - gerrit-trigger-scm:
610 refspec: '$GERRIT_REFSPEC'
611 choosing-strategy: 'gerrit'
613 project: '{extra-project1}'
614 refspec: '{extra-refspec1}'
615 branch: '{extra-branch1}'
616 checkout-dir: '{checkout-dir1}'
618 project: '{extra-project2}'
619 refspec: '{extra-refspec2}'
620 branch: '{extra-branch2}'
621 checkout-dir: '{checkout-dir2}'
624 - ecomp-infra-wrappers:
625 build-timeout: '{build-timeout}'
628 - gerrit-trigger-patch-submitted:
629 server: '{server-name}'
635 - provide-maven-settings:
636 global-settings-file: 'global-settings'
637 settings-file: '{mvn-settings}'
638 # make sure maven gets installed / setup
640 maven-version: 'mvn33'
642 settings: '{mvn-settings}'
644 global-settings: 'global-settings'
645 global-settings-type: cfp
649 # - ecomp-infra-shiplogs:
650 # maven-version: 'mvn33'
652 # vim: sw=2 ts=2 sts=2 et :
655 # Job template for scm and script trigger - for docker merge
657 # Required Variables:
659 # build-node: what build node to run on
660 # script: build script to execute
662 name: '{project-name}-{stream}-merge-docker-script'
664 project-type: freestyle
669 - ecomp-infra-properties:
670 build-days-to-keep: '{build-days-to-keep}'
673 - ecomp-infra-parameters:
676 refspec: 'refs/heads/{branch}'
677 artifacts: '{archive-artifacts}'
679 maven-version: 'mvn33'
682 - gerrit-trigger-scm:
684 choosing-strategy: 'default'
686 project: '{extra-project1}'
687 refspec: '{extra-refspec1}'
688 branch: '{extra-branch1}'
689 checkout-dir: '{checkout-dir1}'
691 project: '{extra-project2}'
692 refspec: '{extra-refspec2}'
693 branch: '{extra-branch2}'
694 checkout-dir: '{checkout-dir2}'
697 - ecomp-infra-wrappers:
698 build-timeout: '{build-timeout}'
701 - gerrit-trigger-patch-merged:
702 server: '{server-name}'
708 - provide-maven-settings:
709 global-settings-file: 'global-settings'
710 settings-file: '{mvn-settings}'
712 # make sure maven gets installed / setup
714 maven-version: 'mvn33'
716 settings: '{mvn-settings}'
718 global-settings: 'global-settings'
719 global-settings-type: cfp
723 # - ecomp-infra-shiplogs:
724 # maven-version: 'mvn33'
727 # Job template for scm and script trigger - for docker daily release
729 # Required Variables:
731 # build-node: what build node to run on
732 # script: build script to execute
734 name: '{project-name}-{stream}-release-docker-script-manual'
736 project-type: freestyle
741 - ecomp-infra-properties:
742 build-days-to-keep: '{build-days-to-keep}'
745 - ecomp-infra-parameters:
748 refspec: 'refs/heads/{branch}'
749 artifacts: '{archive-artifacts}'
751 maven-version: 'mvn33'
754 - gerrit-trigger-scm:
756 choosing-strategy: 'default'
758 project: '{extra-project1}'
759 refspec: '{extra-refspec1}'
760 branch: '{extra-branch1}'
761 checkout-dir: '{checkout-dir1}'
763 project: '{extra-project2}'
764 refspec: '{extra-refspec2}'
765 branch: '{extra-branch2}'
766 checkout-dir: '{checkout-dir2}'
769 - ecomp-infra-wrappers:
770 build-timeout: '{build-timeout}'
773 - gerrit-trigger-release-manually:
774 server: '{server-name}'
779 - provide-maven-settings:
780 global-settings-file: 'global-settings'
781 settings-file: '{mvn-settings}'
783 # make sure maven gets installed / setup
785 maven-version: 'mvn33'
787 settings: '{mvn-settings}'
789 global-settings: 'global-settings'
790 global-settings-type: cfp
794 # - ecomp-infra-shiplogs:
795 # maven-version: 'mvn33'