4 - 'apex-verify-{stream1}'
5 - 'apex-verify-{stream2}'
6 - 'apex-runner-{platform}-{scenario}-{stream}'
7 - 'apex-build-{stream}'
8 - 'apex-deploy-virtual-{scenario}-{stream}'
9 - 'apex-deploy-baremetal-{scenario}-{stream}'
10 - 'apex-daily-{stream1}'
11 - 'apex-daily-{stream2}'
13 # stream: branch with - in place of / (eg. stable-arno)
14 # branch: branch (eg. stable/arno)
19 block-stream: 'brahmaputra'
21 verify-slave: 'apex-verify-master'
22 daily-slave: 'apex-daily-master'
24 branch: 'stable/brahmaputra'
25 gs-pathname: '/brahmaputra'
26 block-stream: 'master'
28 verify-slave: 'apex-verify-brahmaputra'
29 daily-slave: 'apex-daily-brahmaputra'
36 block-stream: 'brahmaputra'
38 verify-slave: 'apex-verify-master'
39 daily-slave: 'apex-daily-master'
43 branch: 'stable/brahmaputra'
44 gs-pathname: '/brahmaputra'
45 block-stream: 'master'
47 verify-slave: 'apex-verify-brahmaputra'
48 daily-slave: 'apex-daily-brahmaputra'
54 - 'os-nosdn-nofeature-noha'
55 - 'os-nosdn-nofeature-ha'
56 - 'os-odl_l2-nofeature-ha'
57 - 'os-odl_l2-bgpvpn-ha'
58 - 'os-odl_l2-sfc-noha'
59 - 'os-odl_l3-nofeature-ha'
60 - 'os-onos-nofeature-ha'
61 - 'os-ocl-nofeature-ha'
69 name: 'apex-verify-{stream2}'
75 gs-pathname: '{gs-pathname}'
82 default: https://gerrit.opnfv.org/gerrit/$PROJECT
83 description: "Used for overriding the GIT URL coming from parameters macro."
87 credentials-id: '{ssh-credentials}'
88 refspec: '$GERRIT_REFSPEC'
89 choosing-strategy: 'gerrit'
94 - patchset-created-event:
95 exclude-drafts: 'false'
96 exclude-trivial-rebase: 'false'
97 exclude-no-code-change: 'true'
98 - draft-published-event
99 - comment-added-contains-event:
100 comment-contains-value: 'recheck'
101 - comment-added-contains-event:
102 comment-contains-value: 'reverify'
104 - project-compare-type: 'ANT'
105 project-pattern: 'apex'
107 - branch-compare-type: 'ANT'
108 branch-pattern: '**/{branch}'
121 use-build-blocker: true
123 - 'apex-daily.*{stream2}'
124 - 'apex-deploy.*{stream2}'
125 - 'apex-build.*{stream2}'
126 - 'apex-runner.*{stream2}'
127 - 'apex-verify-{stream2}'
132 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream2}'
133 predefined-parameters: |
134 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
139 - project: 'apex-deploy-virtual-os-onos-nofeature-ha-{stream2}'
140 predefined-parameters: |
141 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
146 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream2}'
147 predefined-parameters: |
148 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
153 - project: 'apex-deploy-virtual-os-odl_l2-sfc-noha-{stream2}'
154 predefined-parameters: |
155 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
159 - 'apex-workspace-cleanup'
163 name: 'apex-verify-{stream1}'
165 node: '{verify-slave}'
171 gs-pathname: '{gs-pathname}'
178 default: https://gerrit.opnfv.org/gerrit/$PROJECT
179 description: "Used for overriding the GIT URL coming from parameters macro."
182 - gerrit-trigger-scm:
183 credentials-id: '{ssh-credentials}'
184 refspec: '$GERRIT_REFSPEC'
185 choosing-strategy: 'gerrit'
190 - patchset-created-event:
191 exclude-drafts: 'false'
192 exclude-trivial-rebase: 'false'
193 exclude-no-code-change: 'true'
194 - draft-published-event
195 - comment-added-contains-event:
196 comment-contains-value: 'recheck'
197 - comment-added-contains-event:
198 comment-contains-value: 'reverify'
200 - project-compare-type: 'ANT'
201 project-pattern: 'apex'
203 - branch-compare-type: 'ANT'
204 branch-pattern: '**/{branch}'
217 use-build-blocker: true
220 - 'apex-daily.*{stream1}'
221 - 'apex-deploy.*{stream1}'
222 - 'apex-build.*{stream1}'
223 - 'apex-runner.*{stream1}'
224 - 'apex-verify-{stream1}'
232 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream1}'
233 predefined-parameters: |
234 BUILD_DIRECTORY=apex-verify-{stream1}
240 # - project: 'functest-apex-{verify-slave}-suite-{stream1}'
241 # predefined-parameters: |
242 # DEPLOY_SCENARIO=os-nosdn-nofeature-ha
243 # FUNCTEST_SUITE_NAME=vping_userdata
247 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream1}'
248 predefined-parameters: |
249 BUILD_DIRECTORY=apex-verify-{stream1}
254 - 'apex-workspace-cleanup'
257 name: 'apex-runner-{platform}-{scenario}-{stream}'
259 # runner jobs for deploying manually
267 gs-pathname: '{gs-pathname}'
274 default: https://gerrit.opnfv.org/gerrit/$PROJECT
275 description: "Used for overriding the GIT URL coming from parameters macro."
278 - gerrit-trigger-scm:
279 credentials-id: '{ssh-credentials}'
281 choosing-strategy: 'default'
285 use-build-blocker: true
287 - 'apex-daily.*{stream}'
288 - 'apex-verify.*{stream}'
292 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
293 predefined-parameters:
298 - project: 'yardstick-apex-{slave}-daily-{stream}'
299 predefined-parameters:
300 DEPLOY_SCENARIO={scenario}
303 build-step-failure-threshold: 'never'
304 failure-threshold: 'never'
305 unstable-threshold: 'FAILURE'
307 - project: 'functest-apex-{slave}-daily-{stream}'
308 predefined-parameters:
309 DEPLOY_SCENARIO={scenario}
312 build-step-failure-threshold: 'never'
313 failure-threshold: 'never'
314 unstable-threshold: 'FAILURE'
317 name: 'apex-build-{stream}'
319 # Job template for builds
321 # Required Variables:
322 # stream: branch with - in place of / (eg. stable)
323 # branch: branch (eg. stable)
324 node: '{daily-slave}'
334 gs-pathname: '{gs-pathname}'
339 default: https://gerrit.opnfv.org/gerrit/$PROJECT
340 description: "Used for overriding the GIT URL coming from parameters macro."
344 credentials-id: '{ssh-credentials}'
350 use-build-blocker: true
353 - 'apex-deploy.*{stream}'
361 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
362 predefined-parameters: |
363 BUILD_DIRECTORY=apex-build-{stream}/build
368 - 'apex-upload-artifact'
371 name: 'apex-deploy-virtual-{scenario}-{stream}'
373 # Job template for virtual deployment
375 # Required Variables:
376 # stream: branch with - in place of / (eg. stable)
377 # branch: branch (eg. stable)
386 credentials-id: '{ssh-credentials}'
394 gs-pathname: '{gs-pathname}'
396 name: DEPLOY_SCENARIO
397 default: '{scenario}'
398 description: "Scenario to deploy with."
402 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
406 use-build-blocker: true
409 - 'apex-deploy.*{stream}'
415 - 'apex-deploy-virtual'
416 - 'apex-workspace-cleanup'
419 name: 'apex-deploy-baremetal-{scenario}-{stream}'
421 # Job template for baremetal deployment
423 # Required Variables:
424 # stream: branch with - in place of / (eg. stable)
425 # branch: branch (eg. stable)
432 credentials-id: '{ssh-credentials}'
440 gs-pathname: '{gs-pathname}'
442 name: DEPLOY_SCENARIO
443 default: '{scenario}'
444 description: "Scenario to deploy with."
448 use-build-blocker: true
450 - 'apex-verify.*{stream}'
451 - 'apex-deploy.*{stream}'
452 - 'apex-build.*{stream}'
456 - 'apex-deploy-baremetal'
457 - 'apex-workspace-cleanup'
461 name: 'apex-daily-{stream2}'
463 # Job template for daily build
465 # Required Variables:
466 # stream: branch with - in place of / (eg. stable)
467 # branch: branch (eg. stable)
474 credentials-id: '{ssh-credentials}'
482 gs-pathname: '{gs-pathname}'
486 use-build-blocker: true
488 - 'apex-verify.*{stream2}'
489 - 'apex-deploy.*{stream2}'
490 - 'apex-build.*{stream2}'
491 - 'apex-runner.*{stream2}'
498 - project: 'apex-build-{stream2}'
500 current-parameters: true
503 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
504 predefined-parameters: |
505 BUILD_DIRECTORY=apex-build-{stream2}/build_output
510 - project: 'functest-apex-{slave}-daily-{stream2}'
511 predefined-parameters:
512 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
515 build-step-failure-threshold: 'never'
516 failure-threshold: 'never'
517 unstable-threshold: 'FAILURE'
519 - project: 'yardstick-apex-{slave}-daily-{stream2}'
520 predefined-parameters:
521 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
524 build-step-failure-threshold: 'never'
525 failure-threshold: 'never'
526 unstable-threshold: 'FAILURE'
528 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
529 predefined-parameters:
530 BUILD_DIRECTORY=apex-build-{stream2}/build_output
534 - project: 'functest-apex-{slave}-daily-{stream2}'
535 predefined-parameters:
536 DEPLOY_SCENARIO=os-onos-nofeature-ha
539 build-step-failure-threshold: 'never'
540 failure-threshold: 'never'
541 unstable-threshold: 'FAILURE'
543 - project: 'yardstick-apex-{slave}-daily-{stream2}'
544 predefined-parameters:
545 DEPLOY_SCENARIO=os-onos-nofeature-ha
548 build-step-failure-threshold: 'never'
549 failure-threshold: 'never'
550 unstable-threshold: 'FAILURE'
552 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
553 predefined-parameters:
554 BUILD_DIRECTORY=apex-build-{stream2}/build_output
558 - project: 'functest-apex-{slave}-daily-{stream2}'
559 predefined-parameters:
560 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
563 build-step-failure-threshold: 'never'
564 failure-threshold: 'never'
565 unstable-threshold: 'FAILURE'
567 - project: 'yardstick-apex-{slave}-daily-{stream2}'
568 predefined-parameters:
569 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
572 build-step-failure-threshold: 'never'
573 failure-threshold: 'never'
574 unstable-threshold: 'FAILURE'
576 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream2}'
577 predefined-parameters:
578 BUILD_DIRECTORY=apex-build-{stream2}/build_output
582 - project: 'functest-apex-{slave}-daily-{stream2}'
583 predefined-parameters:
584 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
587 build-step-failure-threshold: 'never'
588 failure-threshold: 'never'
589 unstable-threshold: 'FAILURE'
591 - project: 'yardstick-apex-{slave}-daily-{stream2}'
592 predefined-parameters:
593 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
596 build-step-failure-threshold: 'never'
597 failure-threshold: 'never'
598 unstable-threshold: 'FAILURE'
602 name: 'apex-daily-{stream1}'
604 # Job template for daily build
606 # Required Variables:
607 # stream: branch with - in place of / (eg. stable)
608 # branch: branch (eg. stable)
609 node: '{daily-slave}'
615 credentials-id: '{ssh-credentials}'
623 gs-pathname: '{gs-pathname}'
627 use-build-blocker: true
630 - 'apex-verify.*{stream1}'
631 - 'apex-deploy.*{stream1}'
632 - 'apex-build.*{stream1}'
633 - 'apex-runner.*{stream1}'
640 - project: 'apex-build-{stream1}'
642 current-parameters: true
646 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
647 predefined-parameters: |
648 BUILD_DIRECTORY=apex-build-{stream1}/build
654 - project: 'functest-apex-{slave}-daily-{stream1}'
655 predefined-parameters:
656 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
660 build-step-failure-threshold: 'never'
661 failure-threshold: 'never'
662 unstable-threshold: 'FAILURE'
664 - project: 'yardstick-apex-{slave}-daily-{stream1}'
665 predefined-parameters:
666 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
670 build-step-failure-threshold: 'never'
671 failure-threshold: 'never'
672 unstable-threshold: 'FAILURE'
675 name: 'apex-gs-clean-{stream}'
677 # Job template for clean
679 # Required Variables:
680 # stream: branch with - in place of / (eg. stable)
689 gs-pathname: '{gs-pathname}'
695 - 'apex-gs-clean-{stream}'
698 ########################
700 ########################
707 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
709 name: ARTIFACT_VERSION
711 description: "Artifact version type"
713 name: BUILD_DIRECTORY
714 default: $WORKSPACE/build
715 description: "Directory where the build artifact will be located upon the completion of the build."
717 name: CACHE_DIRECTORY
718 default: $HOME/opnfv/cache{gs-pathname}
719 description: "Directory where the cache to be used during the build is located."
722 default: https://gerrit.opnfv.org/gerrit/$PROJECT
723 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
726 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
727 description: "URL to Google Storage."
729 ########################
731 ########################
736 !include-raw: ./apex-build.sh
739 name: 'apex-workspace-cleanup'
742 !include-raw: ./apex-workspace-cleanup.sh
745 name: 'apex-upload-artifact'
748 !include-raw: ./apex-upload-artifact.sh
751 name: 'apex-gs-cleanup'
754 !include-raw: ./apex-gs-cleanup.sh
757 name: 'apex-deploy-virtual'
760 !include-raw: ./apex-deploy-virtual.sh
763 name: 'apex-deploy-baremetal'
766 !include-raw: ./apex-deploy-baremetal.sh
768 #######################
770 ########################
776 name: 'apex-brahmaputra'
780 name: 'apex-gs-clean-{stream}'