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}'
133 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream2}'
134 predefined-parameters: |
135 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
140 - project: 'apex-deploy-virtual-os-onos-nofeature-ha-{stream2}'
141 predefined-parameters: |
142 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
147 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream2}'
148 predefined-parameters: |
149 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
154 - project: 'apex-deploy-virtual-os-odl_l2-sfc-noha-{stream2}'
155 predefined-parameters: |
156 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
160 - 'apex-workspace-cleanup'
164 name: 'apex-verify-{stream1}'
166 node: '{verify-slave}'
172 gs-pathname: '{gs-pathname}'
179 default: https://gerrit.opnfv.org/gerrit/$PROJECT
180 description: "Used for overriding the GIT URL coming from parameters macro."
183 - gerrit-trigger-scm:
184 credentials-id: '{ssh-credentials}'
185 refspec: '$GERRIT_REFSPEC'
186 choosing-strategy: 'gerrit'
191 - patchset-created-event:
192 exclude-drafts: 'false'
193 exclude-trivial-rebase: 'false'
194 exclude-no-code-change: 'true'
195 - draft-published-event
196 - comment-added-contains-event:
197 comment-contains-value: 'recheck'
198 - comment-added-contains-event:
199 comment-contains-value: 'reverify'
201 - project-compare-type: 'ANT'
202 project-pattern: 'apex'
204 - branch-compare-type: 'ANT'
205 branch-pattern: '**/{branch}'
218 use-build-blocker: true
221 - 'apex-daily.*{stream1}'
222 - 'apex-deploy.*{stream1}'
223 - 'apex-build.*{stream1}'
224 - 'apex-runner.*{stream1}'
225 - 'apex-verify-{stream1}'
235 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream1}'
236 predefined-parameters: |
237 BUILD_DIRECTORY=apex-verify-{stream1}
243 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
244 predefined-parameters: |
245 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
246 FUNCTEST_SUITE_NAME=healthcheck
250 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream1}'
251 predefined-parameters: |
252 BUILD_DIRECTORY=apex-verify-{stream1}
258 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
259 predefined-parameters: |
260 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
261 FUNCTEST_SUITE_NAME=healthcheck
264 - 'apex-workspace-cleanup'
267 name: 'apex-runner-{platform}-{scenario}-{stream}'
269 # runner jobs for deploying manually
277 gs-pathname: '{gs-pathname}'
284 default: https://gerrit.opnfv.org/gerrit/$PROJECT
285 description: "Used for overriding the GIT URL coming from parameters macro."
288 - gerrit-trigger-scm:
289 credentials-id: '{ssh-credentials}'
291 choosing-strategy: 'default'
295 use-build-blocker: true
297 - 'apex-daily.*{stream}'
298 - 'apex-verify.*{stream}'
302 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
303 predefined-parameters:
308 - project: 'yardstick-apex-{slave}-daily-{stream}'
309 predefined-parameters:
310 DEPLOY_SCENARIO={scenario}
313 build-step-failure-threshold: 'never'
314 failure-threshold: 'never'
315 unstable-threshold: 'FAILURE'
317 - project: 'functest-apex-{slave}-daily-{stream}'
318 predefined-parameters:
319 DEPLOY_SCENARIO={scenario}
322 build-step-failure-threshold: 'never'
323 failure-threshold: 'never'
324 unstable-threshold: 'FAILURE'
327 name: 'apex-runner-cperf-{stream1}'
337 gs-pathname: '{gs-pathname}'
344 default: https://gerrit.opnfv.org/gerrit/$PROJECT
345 description: "Used for overriding the GIT URL coming from parameters macro."
348 - gerrit-trigger-scm:
349 credentials-id: '{ssh-credentials}'
351 choosing-strategy: 'default'
355 use-build-blocker: false
358 - 'apex-deploy.*{stream}'
366 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
367 predefined-parameters:
372 - project: 'cperf-apex-intel-pod2-daily-{stream1}'
373 predefined-parameters:
374 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
379 name: 'apex-build-{stream}'
381 # Job template for builds
383 # Required Variables:
384 # stream: branch with - in place of / (eg. stable)
385 # branch: branch (eg. stable)
386 node: '{daily-slave}'
396 gs-pathname: '{gs-pathname}'
401 default: https://gerrit.opnfv.org/gerrit/$PROJECT
402 description: "Used for overriding the GIT URL coming from parameters macro."
406 credentials-id: '{ssh-credentials}'
412 use-build-blocker: true
415 - 'apex-deploy.*{stream}'
424 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
425 predefined-parameters: |
426 BUILD_DIRECTORY=apex-build-{stream}/build
431 - 'apex-upload-artifact'
434 name: 'apex-deploy-virtual-{scenario}-{stream}'
436 # Job template for virtual deployment
438 # Required Variables:
439 # stream: branch with - in place of / (eg. stable)
440 # branch: branch (eg. stable)
449 credentials-id: '{ssh-credentials}'
457 gs-pathname: '{gs-pathname}'
459 name: DEPLOY_SCENARIO
460 default: '{scenario}'
461 description: "Scenario to deploy with."
465 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
469 use-build-blocker: true
472 - 'apex-deploy.*{stream}'
480 - 'apex-workspace-cleanup'
483 name: 'apex-deploy-baremetal-{scenario}-{stream}'
485 # Job template for baremetal deployment
487 # Required Variables:
488 # stream: branch with - in place of / (eg. stable)
489 # branch: branch (eg. stable)
496 credentials-id: '{ssh-credentials}'
504 gs-pathname: '{gs-pathname}'
506 name: DEPLOY_SCENARIO
507 default: '{scenario}'
508 description: "Scenario to deploy with."
512 use-build-blocker: true
515 - 'apex-verify.*{stream}'
516 - 'apex-deploy.*{stream}'
517 - 'apex-build.*{stream}'
522 - 'apex-workspace-cleanup'
526 name: 'apex-daily-{stream2}'
528 # Job template for daily build
530 # Required Variables:
531 # stream: branch with - in place of / (eg. stable)
532 # branch: branch (eg. stable)
539 credentials-id: '{ssh-credentials}'
547 gs-pathname: '{gs-pathname}'
551 use-build-blocker: true
553 - 'apex-verify.*{stream2}'
554 - 'apex-deploy.*{stream2}'
555 - 'apex-build.*{stream2}'
556 - 'apex-runner.*{stream2}'
563 - project: 'apex-build-{stream2}'
565 current-parameters: true
568 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
569 predefined-parameters: |
570 BUILD_DIRECTORY=apex-build-{stream2}/build_output
575 - project: 'functest-apex-{slave}-daily-{stream2}'
576 predefined-parameters:
577 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
580 build-step-failure-threshold: 'never'
581 failure-threshold: 'never'
582 unstable-threshold: 'FAILURE'
584 - project: 'yardstick-apex-{slave}-daily-{stream2}'
585 predefined-parameters:
586 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
589 build-step-failure-threshold: 'never'
590 failure-threshold: 'never'
591 unstable-threshold: 'FAILURE'
593 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
594 predefined-parameters:
595 BUILD_DIRECTORY=apex-build-{stream2}/build_output
599 - project: 'functest-apex-{slave}-daily-{stream2}'
600 predefined-parameters:
601 DEPLOY_SCENARIO=os-onos-nofeature-ha
604 build-step-failure-threshold: 'never'
605 failure-threshold: 'never'
606 unstable-threshold: 'FAILURE'
608 - project: 'yardstick-apex-{slave}-daily-{stream2}'
609 predefined-parameters:
610 DEPLOY_SCENARIO=os-onos-nofeature-ha
613 build-step-failure-threshold: 'never'
614 failure-threshold: 'never'
615 unstable-threshold: 'FAILURE'
617 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
618 predefined-parameters:
619 BUILD_DIRECTORY=apex-build-{stream2}/build_output
623 - project: 'functest-apex-{slave}-daily-{stream2}'
624 predefined-parameters:
625 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
628 build-step-failure-threshold: 'never'
629 failure-threshold: 'never'
630 unstable-threshold: 'FAILURE'
632 - project: 'yardstick-apex-{slave}-daily-{stream2}'
633 predefined-parameters:
634 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
637 build-step-failure-threshold: 'never'
638 failure-threshold: 'never'
639 unstable-threshold: 'FAILURE'
641 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream2}'
642 predefined-parameters:
643 BUILD_DIRECTORY=apex-build-{stream2}/build_output
647 - project: 'functest-apex-{slave}-daily-{stream2}'
648 predefined-parameters:
649 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
652 build-step-failure-threshold: 'never'
653 failure-threshold: 'never'
654 unstable-threshold: 'FAILURE'
656 - project: 'yardstick-apex-{slave}-daily-{stream2}'
657 predefined-parameters:
658 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
661 build-step-failure-threshold: 'never'
662 failure-threshold: 'never'
663 unstable-threshold: 'FAILURE'
667 name: 'apex-daily-{stream1}'
669 # Job template for daily build
671 # Required Variables:
672 # stream: branch with - in place of / (eg. stable)
673 # branch: branch (eg. stable)
674 node: '{daily-slave}'
680 credentials-id: '{ssh-credentials}'
688 gs-pathname: '{gs-pathname}'
692 use-build-blocker: true
695 - 'apex-verify.*{stream1}'
696 - 'apex-deploy.*{stream1}'
697 - 'apex-build.*{stream1}'
698 - 'apex-runner.*{stream1}'
705 - project: 'apex-build-{stream1}'
707 current-parameters: true
711 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
712 predefined-parameters: |
713 BUILD_DIRECTORY=apex-build-{stream1}/build
718 build-step-failure-threshold: 'never'
721 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
722 predefined-parameters:
723 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
727 build-step-failure-threshold: 'never'
728 failure-threshold: 'never'
729 unstable-threshold: 'FAILURE'
731 - project: 'yardstick-apex-{slave}-daily-{stream1}'
732 predefined-parameters:
733 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
737 build-step-failure-threshold: 'never'
738 failure-threshold: 'never'
739 unstable-threshold: 'FAILURE'
741 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
742 predefined-parameters: |
743 BUILD_DIRECTORY=apex-build-{stream1}/build
748 build-step-failure-threshold: 'never'
751 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
752 predefined-parameters:
753 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
757 build-step-failure-threshold: 'never'
758 failure-threshold: 'never'
759 unstable-threshold: 'FAILURE'
761 - project: 'yardstick-apex-{slave}-daily-{stream1}'
762 predefined-parameters:
763 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
767 build-step-failure-threshold: 'never'
768 failure-threshold: 'never'
769 unstable-threshold: 'FAILURE'
771 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
772 predefined-parameters: |
773 BUILD_DIRECTORY=apex-build-{stream1}/build
778 build-step-failure-threshold: 'never'
781 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
782 predefined-parameters:
783 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
787 build-step-failure-threshold: 'never'
788 failure-threshold: 'never'
789 unstable-threshold: 'FAILURE'
791 - project: 'yardstick-apex-{slave}-daily-{stream1}'
792 predefined-parameters:
793 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
797 build-step-failure-threshold: 'never'
798 failure-threshold: 'never'
799 unstable-threshold: 'FAILURE'
801 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream1}'
802 predefined-parameters: |
803 BUILD_DIRECTORY=apex-build-{stream1}/build
808 build-step-failure-threshold: 'never'
811 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
812 predefined-parameters:
813 DEPLOY_SCENARIO=os-onos-nofeature-ha
817 build-step-failure-threshold: 'never'
818 failure-threshold: 'never'
819 unstable-threshold: 'FAILURE'
821 - project: 'yardstick-apex-{slave}-daily-{stream1}'
822 predefined-parameters:
823 DEPLOY_SCENARIO=os-onos-nofeature-ha
827 build-step-failure-threshold: 'never'
828 failure-threshold: 'never'
829 unstable-threshold: 'FAILURE'
832 name: 'apex-gs-clean-{stream}'
834 # Job template for clean
836 # Required Variables:
837 # stream: branch with - in place of / (eg. stable)
846 gs-pathname: '{gs-pathname}'
852 - 'apex-gs-clean-{stream}'
855 ########################
857 ########################
864 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
866 name: ARTIFACT_VERSION
868 description: "Artifact version type"
870 name: BUILD_DIRECTORY
871 default: $WORKSPACE/build
872 description: "Directory where the build artifact will be located upon the completion of the build."
874 name: CACHE_DIRECTORY
875 default: $HOME/opnfv/cache{gs-pathname}
876 description: "Directory where the cache to be used during the build is located."
879 default: https://gerrit.opnfv.org/gerrit/$PROJECT
880 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
883 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
884 description: "URL to Google Storage."
886 ########################
888 ########################
890 name: 'apex-unit-test'
893 !include-raw: ./apex-unit-test.sh
899 !include-raw: ./apex-build.sh
902 name: 'apex-workspace-cleanup'
905 !include-raw: ./apex-workspace-cleanup.sh
908 name: 'apex-upload-artifact'
911 !include-raw: ./apex-upload-artifact.sh
914 name: 'apex-gs-cleanup'
917 !include-raw: ./apex-gs-cleanup.sh
923 !include-raw: ./apex-deploy.sh
926 #######################
928 ########################
934 name: 'apex-brahmaputra'
938 name: 'apex-gs-clean-{stream}'