4 - 'apex-verify-{stream1}'
5 - 'apex-verify-{stream2}'
6 - 'apex-runner-{platform}-{scenario}-{stream}'
7 - 'apex-runner-cperf-{stream1}'
8 - 'apex-build-{stream}'
9 - 'apex-deploy-virtual-{scenario}-{stream}'
10 - 'apex-deploy-baremetal-{scenario}-{stream}'
11 - 'apex-daily-{stream1}'
12 - 'apex-daily-{stream2}'
14 # stream: branch with - in place of / (eg. stable-arno)
15 # branch: branch (eg. stable/arno)
20 block-stream: 'brahmaputra'
22 verify-slave: 'apex-verify-master'
23 daily-slave: 'apex-daily-master'
25 branch: 'stable/brahmaputra'
26 gs-pathname: '/brahmaputra'
27 block-stream: 'master'
29 verify-slave: 'apex-verify-brahmaputra'
30 daily-slave: 'apex-daily-brahmaputra'
37 block-stream: 'brahmaputra'
39 verify-slave: 'apex-verify-master'
40 daily-slave: 'apex-daily-master'
44 branch: 'stable/brahmaputra'
45 gs-pathname: '/brahmaputra'
46 block-stream: 'master'
48 verify-slave: 'apex-verify-brahmaputra'
49 daily-slave: 'apex-daily-brahmaputra'
55 - 'os-nosdn-nofeature-noha'
56 - 'os-nosdn-nofeature-ha'
57 - 'os-odl_l2-nofeature-ha'
58 - 'os-odl_l2-bgpvpn-ha'
59 - 'os-odl_l2-sfc-noha'
60 - 'os-odl_l3-nofeature-ha'
61 - 'os-onos-nofeature-ha'
62 - 'os-ocl-nofeature-ha'
70 name: 'apex-verify-{stream2}'
76 gs-pathname: '{gs-pathname}'
83 default: https://gerrit.opnfv.org/gerrit/$PROJECT
84 description: "Used for overriding the GIT URL coming from parameters macro."
88 credentials-id: '{ssh-credentials}'
89 refspec: '$GERRIT_REFSPEC'
90 choosing-strategy: 'gerrit'
95 - patchset-created-event:
96 exclude-drafts: 'false'
97 exclude-trivial-rebase: 'false'
98 exclude-no-code-change: 'true'
99 - draft-published-event
100 - comment-added-contains-event:
101 comment-contains-value: 'recheck'
102 - comment-added-contains-event:
103 comment-contains-value: 'reverify'
105 - project-compare-type: 'ANT'
106 project-pattern: 'apex'
108 - branch-compare-type: 'ANT'
109 branch-pattern: '**/{branch}'
122 use-build-blocker: true
124 - 'apex-daily.*{stream2}'
125 - 'apex-deploy.*{stream2}'
126 - 'apex-build.*{stream2}'
127 - 'apex-runner.*{stream2}'
128 - 'apex-verify-{stream2}'
134 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream2}'
135 predefined-parameters: |
136 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
141 - project: 'apex-deploy-virtual-os-onos-nofeature-ha-{stream2}'
142 predefined-parameters: |
143 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
148 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream2}'
149 predefined-parameters: |
150 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
155 - project: 'apex-deploy-virtual-os-odl_l2-sfc-noha-{stream2}'
156 predefined-parameters: |
157 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
161 - 'apex-workspace-cleanup'
165 name: 'apex-verify-{stream1}'
167 node: '{verify-slave}'
173 gs-pathname: '{gs-pathname}'
180 default: https://gerrit.opnfv.org/gerrit/$PROJECT
181 description: "Used for overriding the GIT URL coming from parameters macro."
184 - gerrit-trigger-scm:
185 credentials-id: '{ssh-credentials}'
186 refspec: '$GERRIT_REFSPEC'
187 choosing-strategy: 'gerrit'
192 - patchset-created-event:
193 exclude-drafts: 'false'
194 exclude-trivial-rebase: 'false'
195 exclude-no-code-change: 'true'
196 - draft-published-event
197 - comment-added-contains-event:
198 comment-contains-value: 'recheck'
199 - comment-added-contains-event:
200 comment-contains-value: 'reverify'
202 - project-compare-type: 'ANT'
203 project-pattern: 'apex'
205 - branch-compare-type: 'ANT'
206 branch-pattern: '**/{branch}'
219 use-build-blocker: true
222 - 'apex-daily.*{stream1}'
223 - 'apex-deploy.*{stream1}'
224 - 'apex-build.*{stream1}'
225 - 'apex-runner.*{stream1}'
226 - 'apex-verify-{stream1}'
236 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream1}'
237 predefined-parameters: |
238 BUILD_DIRECTORY=apex-verify-{stream1}
244 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
245 predefined-parameters: |
246 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
247 FUNCTEST_SUITE_NAME=healthcheck
251 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream1}'
252 predefined-parameters: |
253 BUILD_DIRECTORY=apex-verify-{stream1}
259 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
260 predefined-parameters: |
261 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
262 FUNCTEST_SUITE_NAME=healthcheck
265 - 'apex-workspace-cleanup'
268 name: 'apex-runner-{platform}-{scenario}-{stream}'
270 # runner jobs for deploying manually
278 gs-pathname: '{gs-pathname}'
285 default: https://gerrit.opnfv.org/gerrit/$PROJECT
286 description: "Used for overriding the GIT URL coming from parameters macro."
289 - gerrit-trigger-scm:
290 credentials-id: '{ssh-credentials}'
292 choosing-strategy: 'default'
296 use-build-blocker: true
298 - 'apex-daily.*{stream}'
299 - 'apex-verify.*{stream}'
303 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
304 predefined-parameters:
309 - project: 'yardstick-apex-{slave}-daily-{stream}'
310 predefined-parameters:
311 DEPLOY_SCENARIO={scenario}
314 build-step-failure-threshold: 'never'
315 failure-threshold: 'never'
316 unstable-threshold: 'FAILURE'
318 - project: 'functest-apex-{slave}-daily-{stream}'
319 predefined-parameters:
320 DEPLOY_SCENARIO={scenario}
323 build-step-failure-threshold: 'never'
324 failure-threshold: 'never'
325 unstable-threshold: 'FAILURE'
328 name: 'apex-runner-cperf-{stream1}'
338 gs-pathname: '{gs-pathname}'
345 default: https://gerrit.opnfv.org/gerrit/$PROJECT
346 description: "Used for overriding the GIT URL coming from parameters macro."
349 - gerrit-trigger-scm:
350 credentials-id: '{ssh-credentials}'
352 choosing-strategy: 'default'
356 use-build-blocker: false
359 - 'apex-deploy.*{stream}'
367 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
368 predefined-parameters:
373 - project: 'cperf-apex-intel-pod2-daily-{stream1}'
374 predefined-parameters:
375 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
380 name: 'apex-build-{stream}'
382 # Job template for builds
384 # Required Variables:
385 # stream: branch with - in place of / (eg. stable)
386 # branch: branch (eg. stable)
387 node: '{daily-slave}'
397 gs-pathname: '{gs-pathname}'
402 default: https://gerrit.opnfv.org/gerrit/$PROJECT
403 description: "Used for overriding the GIT URL coming from parameters macro."
407 credentials-id: '{ssh-credentials}'
413 use-build-blocker: true
416 - 'apex-deploy.*{stream}'
425 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
426 predefined-parameters: |
427 BUILD_DIRECTORY=apex-build-{stream}/build
432 - 'apex-upload-artifact'
435 name: 'apex-deploy-virtual-{scenario}-{stream}'
437 # Job template for virtual deployment
439 # Required Variables:
440 # stream: branch with - in place of / (eg. stable)
441 # branch: branch (eg. stable)
450 credentials-id: '{ssh-credentials}'
458 gs-pathname: '{gs-pathname}'
460 name: DEPLOY_SCENARIO
461 default: '{scenario}'
462 description: "Scenario to deploy with."
466 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
470 use-build-blocker: true
473 - 'apex-deploy.*{stream}'
481 - 'apex-workspace-cleanup'
484 name: 'apex-deploy-baremetal-{scenario}-{stream}'
486 # Job template for baremetal deployment
488 # Required Variables:
489 # stream: branch with - in place of / (eg. stable)
490 # branch: branch (eg. stable)
497 credentials-id: '{ssh-credentials}'
505 gs-pathname: '{gs-pathname}'
507 name: DEPLOY_SCENARIO
508 default: '{scenario}'
509 description: "Scenario to deploy with."
513 use-build-blocker: true
516 - 'apex-verify.*{stream}'
517 - 'apex-deploy.*{stream}'
518 - 'apex-build.*{stream}'
523 - 'apex-workspace-cleanup'
527 name: 'apex-daily-{stream2}'
529 # Job template for daily build
531 # Required Variables:
532 # stream: branch with - in place of / (eg. stable)
533 # branch: branch (eg. stable)
540 credentials-id: '{ssh-credentials}'
548 gs-pathname: '{gs-pathname}'
552 use-build-blocker: true
554 - 'apex-verify.*{stream2}'
555 - 'apex-deploy.*{stream2}'
556 - 'apex-build.*{stream2}'
557 - 'apex-runner.*{stream2}'
564 - project: 'apex-build-{stream2}'
566 current-parameters: true
569 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
570 predefined-parameters: |
571 BUILD_DIRECTORY=apex-build-{stream2}/build_output
576 - project: 'functest-apex-{slave}-daily-{stream2}'
577 predefined-parameters:
578 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
581 build-step-failure-threshold: 'never'
582 failure-threshold: 'never'
583 unstable-threshold: 'FAILURE'
585 - project: 'yardstick-apex-{slave}-daily-{stream2}'
586 predefined-parameters:
587 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
590 build-step-failure-threshold: 'never'
591 failure-threshold: 'never'
592 unstable-threshold: 'FAILURE'
594 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
595 predefined-parameters:
596 BUILD_DIRECTORY=apex-build-{stream2}/build_output
600 - project: 'functest-apex-{slave}-daily-{stream2}'
601 predefined-parameters:
602 DEPLOY_SCENARIO=os-onos-nofeature-ha
605 build-step-failure-threshold: 'never'
606 failure-threshold: 'never'
607 unstable-threshold: 'FAILURE'
609 - project: 'yardstick-apex-{slave}-daily-{stream2}'
610 predefined-parameters:
611 DEPLOY_SCENARIO=os-onos-nofeature-ha
614 build-step-failure-threshold: 'never'
615 failure-threshold: 'never'
616 unstable-threshold: 'FAILURE'
618 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
619 predefined-parameters:
620 BUILD_DIRECTORY=apex-build-{stream2}/build_output
624 - project: 'functest-apex-{slave}-daily-{stream2}'
625 predefined-parameters:
626 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
629 build-step-failure-threshold: 'never'
630 failure-threshold: 'never'
631 unstable-threshold: 'FAILURE'
633 - project: 'yardstick-apex-{slave}-daily-{stream2}'
634 predefined-parameters:
635 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
638 build-step-failure-threshold: 'never'
639 failure-threshold: 'never'
640 unstable-threshold: 'FAILURE'
642 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream2}'
643 predefined-parameters:
644 BUILD_DIRECTORY=apex-build-{stream2}/build_output
648 - project: 'functest-apex-{slave}-daily-{stream2}'
649 predefined-parameters:
650 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
653 build-step-failure-threshold: 'never'
654 failure-threshold: 'never'
655 unstable-threshold: 'FAILURE'
657 - project: 'yardstick-apex-{slave}-daily-{stream2}'
658 predefined-parameters:
659 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
662 build-step-failure-threshold: 'never'
663 failure-threshold: 'never'
664 unstable-threshold: 'FAILURE'
668 name: 'apex-daily-{stream1}'
670 # Job template for daily build
672 # Required Variables:
673 # stream: branch with - in place of / (eg. stable)
674 # branch: branch (eg. stable)
675 node: '{daily-slave}'
681 credentials-id: '{ssh-credentials}'
689 gs-pathname: '{gs-pathname}'
693 use-build-blocker: true
696 - 'apex-verify.*{stream1}'
697 - 'apex-deploy.*{stream1}'
698 - 'apex-build.*{stream1}'
699 - 'apex-runner.*{stream1}'
706 - project: 'apex-build-{stream1}'
708 current-parameters: true
712 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
713 predefined-parameters: |
714 BUILD_DIRECTORY=apex-build-{stream1}/build
719 build-step-failure-threshold: 'never'
722 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
723 predefined-parameters:
724 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
728 build-step-failure-threshold: 'never'
729 failure-threshold: 'never'
730 unstable-threshold: 'FAILURE'
732 - project: 'yardstick-apex-{slave}-daily-{stream1}'
733 predefined-parameters:
734 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
738 build-step-failure-threshold: 'never'
739 failure-threshold: 'never'
740 unstable-threshold: 'FAILURE'
742 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
743 predefined-parameters: |
744 BUILD_DIRECTORY=apex-build-{stream1}/build
749 build-step-failure-threshold: 'never'
752 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
753 predefined-parameters:
754 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
758 build-step-failure-threshold: 'never'
759 failure-threshold: 'never'
760 unstable-threshold: 'FAILURE'
762 - project: 'yardstick-apex-{slave}-daily-{stream1}'
763 predefined-parameters:
764 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
768 build-step-failure-threshold: 'never'
769 failure-threshold: 'never'
770 unstable-threshold: 'FAILURE'
772 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
773 predefined-parameters: |
774 BUILD_DIRECTORY=apex-build-{stream1}/build
779 build-step-failure-threshold: 'never'
782 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
783 predefined-parameters:
784 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
788 build-step-failure-threshold: 'never'
789 failure-threshold: 'never'
790 unstable-threshold: 'FAILURE'
792 - project: 'yardstick-apex-{slave}-daily-{stream1}'
793 predefined-parameters:
794 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
798 build-step-failure-threshold: 'never'
799 failure-threshold: 'never'
800 unstable-threshold: 'FAILURE'
802 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream1}'
803 predefined-parameters: |
804 BUILD_DIRECTORY=apex-build-{stream1}/build
809 build-step-failure-threshold: 'never'
812 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
813 predefined-parameters:
814 DEPLOY_SCENARIO=os-onos-nofeature-ha
818 build-step-failure-threshold: 'never'
819 failure-threshold: 'never'
820 unstable-threshold: 'FAILURE'
822 - project: 'yardstick-apex-{slave}-daily-{stream1}'
823 predefined-parameters:
824 DEPLOY_SCENARIO=os-onos-nofeature-ha
828 build-step-failure-threshold: 'never'
829 failure-threshold: 'never'
830 unstable-threshold: 'FAILURE'
833 name: 'apex-gs-clean-{stream}'
835 # Job template for clean
837 # Required Variables:
838 # stream: branch with - in place of / (eg. stable)
847 gs-pathname: '{gs-pathname}'
853 - 'apex-gs-clean-{stream}'
856 ########################
858 ########################
865 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
867 name: ARTIFACT_VERSION
869 description: "Artifact version type"
871 name: BUILD_DIRECTORY
872 default: $WORKSPACE/build
873 description: "Directory where the build artifact will be located upon the completion of the build."
875 name: CACHE_DIRECTORY
876 default: $HOME/opnfv/cache{gs-pathname}
877 description: "Directory where the cache to be used during the build is located."
880 default: https://gerrit.opnfv.org/gerrit/$PROJECT
881 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
884 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
885 description: "URL to Google Storage."
887 ########################
889 ########################
891 name: 'apex-unit-test'
894 !include-raw: ./apex-unit-test.sh
900 !include-raw: ./apex-build.sh
903 name: 'apex-workspace-cleanup'
906 !include-raw: ./apex-workspace-cleanup.sh
909 name: 'apex-upload-artifact'
912 !include-raw: ./apex-upload-artifact.sh
915 name: 'apex-gs-cleanup'
918 !include-raw: ./apex-gs-cleanup.sh
924 !include-raw: ./apex-deploy.sh
927 #######################
929 ########################
935 name: 'apex-brahmaputra'
939 name: 'apex-gs-clean-{stream}'