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
719 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
720 predefined-parameters:
721 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
725 build-step-failure-threshold: 'never'
726 failure-threshold: 'never'
727 unstable-threshold: 'FAILURE'
729 - project: 'yardstick-apex-{slave}-daily-{stream1}'
730 predefined-parameters:
731 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
735 build-step-failure-threshold: 'never'
736 failure-threshold: 'never'
737 unstable-threshold: 'FAILURE'
739 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
740 predefined-parameters: |
741 BUILD_DIRECTORY=apex-build-{stream1}/build
747 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
748 predefined-parameters:
749 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
753 build-step-failure-threshold: 'never'
754 failure-threshold: 'never'
755 unstable-threshold: 'FAILURE'
757 - project: 'yardstick-apex-{slave}-daily-{stream1}'
758 predefined-parameters:
759 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
763 build-step-failure-threshold: 'never'
764 failure-threshold: 'never'
765 unstable-threshold: 'FAILURE'
767 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
768 predefined-parameters: |
769 BUILD_DIRECTORY=apex-build-{stream1}/build
775 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
776 predefined-parameters:
777 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
781 build-step-failure-threshold: 'never'
782 failure-threshold: 'never'
783 unstable-threshold: 'FAILURE'
785 - project: 'yardstick-apex-{slave}-daily-{stream1}'
786 predefined-parameters:
787 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
791 build-step-failure-threshold: 'never'
792 failure-threshold: 'never'
793 unstable-threshold: 'FAILURE'
795 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream1}'
796 predefined-parameters: |
797 BUILD_DIRECTORY=apex-build-{stream1}/build
803 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
804 predefined-parameters:
805 DEPLOY_SCENARIO=os-onos-nofeature-ha
809 build-step-failure-threshold: 'never'
810 failure-threshold: 'never'
811 unstable-threshold: 'FAILURE'
813 - project: 'yardstick-apex-{slave}-daily-{stream1}'
814 predefined-parameters:
815 DEPLOY_SCENARIO=os-onos-nofeature-ha
819 build-step-failure-threshold: 'never'
820 failure-threshold: 'never'
821 unstable-threshold: 'FAILURE'
824 name: 'apex-gs-clean-{stream}'
826 # Job template for clean
828 # Required Variables:
829 # stream: branch with - in place of / (eg. stable)
838 gs-pathname: '{gs-pathname}'
844 - 'apex-gs-clean-{stream}'
847 ########################
849 ########################
856 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
858 name: ARTIFACT_VERSION
860 description: "Artifact version type"
862 name: BUILD_DIRECTORY
863 default: $WORKSPACE/build
864 description: "Directory where the build artifact will be located upon the completion of the build."
866 name: CACHE_DIRECTORY
867 default: $HOME/opnfv/cache{gs-pathname}
868 description: "Directory where the cache to be used during the build is located."
871 default: https://gerrit.opnfv.org/gerrit/$PROJECT
872 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
875 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
876 description: "URL to Google Storage."
878 ########################
880 ########################
882 name: 'apex-unit-test'
885 !include-raw: ./apex-unit-test.sh
891 !include-raw: ./apex-build.sh
894 name: 'apex-workspace-cleanup'
897 !include-raw: ./apex-workspace-cleanup.sh
900 name: 'apex-upload-artifact'
903 !include-raw: ./apex-upload-artifact.sh
906 name: 'apex-gs-cleanup'
909 !include-raw: ./apex-gs-cleanup.sh
915 !include-raw: ./apex-deploy.sh
918 #######################
920 ########################
926 name: 'apex-brahmaputra'
930 name: 'apex-gs-clean-{stream}'