4 - 'apex-verify-{stream}'
5 - 'apex-runner-{platform}-{scenario}-{stream}'
6 - 'apex-runner-cperf-{stream}'
7 - 'apex-build-{stream}'
8 - 'apex-deploy-virtual-{scenario}-{stream}'
9 - 'apex-deploy-baremetal-{scenario}-{stream}'
10 - 'apex-daily-{stream}'
12 # stream: branch with - in place of / (eg. stable-arno)
13 # branch: branch (eg. stable/arno)
18 block-stream: 'colorado'
20 verify-slave: 'apex-verify-master'
21 daily-slave: 'apex-daily-master'
23 branch: 'stable/colorado'
24 gs-pathname: '/colorado'
25 block-stream: 'master'
27 verify-slave: 'apex-verify-colorado'
28 daily-slave: 'apex-daily-colorado'
35 block-stream: 'colorado'
37 verify-slave: 'apex-verify-master'
38 daily-slave: 'apex-daily-master'
42 branch: 'stable/colorado'
43 gs-pathname: '/colorado'
44 block-stream: 'master'
46 verify-slave: 'apex-verify-colorado'
47 daily-slave: 'apex-daily-colorado'
53 - 'os-nosdn-nofeature-noha'
54 - 'os-nosdn-nofeature-ha'
55 - 'os-nosdn-nofeature-ha-ipv6'
57 - 'os-nosdn-fdio-noha'
58 - 'os-odl_l2-nofeature-ha'
59 - 'os-odl_l2-bgpvpn-ha'
60 - 'os-odl_l2-fdio-noha'
61 - 'os-odl_l2-sfc-noha'
62 - 'os-odl_l3-nofeature-ha'
63 - 'os-onos-nofeature-ha'
65 - 'os-ocl-nofeature-ha'
73 name: 'apex-verify-{stream}'
75 node: '{verify-slave}'
81 gs-pathname: '{gs-pathname}'
88 default: https://gerrit.opnfv.org/gerrit/$PROJECT
89 description: "Used for overriding the GIT URL coming from parameters macro."
93 credentials-id: '{ssh-credentials}'
94 refspec: '$GERRIT_REFSPEC'
95 choosing-strategy: 'gerrit'
100 - patchset-created-event:
101 exclude-drafts: 'false'
102 exclude-trivial-rebase: 'false'
103 exclude-no-code-change: 'true'
104 - draft-published-event
105 - comment-added-contains-event:
106 comment-contains-value: 'recheck'
107 - comment-added-contains-event:
108 comment-contains-value: 'reverify'
110 - project-compare-type: 'ANT'
111 project-pattern: 'apex'
113 - branch-compare-type: 'ANT'
114 branch-pattern: '**/{branch}'
127 use-build-blocker: true
144 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
145 predefined-parameters: |
146 BUILD_DIRECTORY=apex-verify-{stream}
152 - project: 'functest-apex-{verify-slave}-suite-{stream}'
153 predefined-parameters: |
154 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
155 FUNCTEST_SUITE_NAME=healthcheck
159 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream}'
160 predefined-parameters: |
161 BUILD_DIRECTORY=apex-verify-{stream}
167 - project: 'functest-apex-{verify-slave}-suite-{stream}'
168 predefined-parameters: |
169 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
170 FUNCTEST_SUITE_NAME=healthcheck
173 - 'apex-workspace-cleanup'
176 name: 'apex-runner-{platform}-{scenario}-{stream}'
178 # runner jobs for deploying manually
186 gs-pathname: '{gs-pathname}'
193 default: https://gerrit.opnfv.org/gerrit/$PROJECT
194 description: "Used for overriding the GIT URL coming from parameters macro."
197 - gerrit-trigger-scm:
198 credentials-id: '{ssh-credentials}'
200 choosing-strategy: 'default'
204 use-build-blocker: true
211 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
212 predefined-parameters:
217 - project: 'yardstick-apex-{slave}-daily-{stream}'
218 predefined-parameters:
219 DEPLOY_SCENARIO={scenario}
222 build-step-failure-threshold: 'never'
223 failure-threshold: 'never'
224 unstable-threshold: 'FAILURE'
226 - project: 'functest-apex-{slave}-daily-{stream}'
227 predefined-parameters:
228 DEPLOY_SCENARIO={scenario}
231 build-step-failure-threshold: 'never'
232 failure-threshold: 'never'
233 unstable-threshold: 'FAILURE'
236 name: 'apex-runner-cperf-{stream}'
246 gs-pathname: '{gs-pathname}'
253 default: https://gerrit.opnfv.org/gerrit/$PROJECT
254 description: "Used for overriding the GIT URL coming from parameters macro."
257 - gerrit-trigger-scm:
258 credentials-id: '{ssh-credentials}'
260 choosing-strategy: 'default'
264 use-build-blocker: false
275 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
276 predefined-parameters:
281 - project: 'cperf-apex-intel-pod2-daily-{stream}'
282 predefined-parameters:
283 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
288 name: 'apex-build-{stream}'
290 # Job template for builds
292 # Required Variables:
293 # stream: branch with - in place of / (eg. stable)
294 # branch: branch (eg. stable)
295 node: '{daily-slave}'
305 gs-pathname: '{gs-pathname}'
310 default: https://gerrit.opnfv.org/gerrit/$PROJECT
311 description: "Used for overriding the GIT URL coming from parameters macro."
315 credentials-id: '{ssh-credentials}'
321 use-build-blocker: true
333 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
334 predefined-parameters: |
335 BUILD_DIRECTORY=apex-build-{stream}/build
340 - 'apex-upload-artifact'
343 name: 'apex-deploy-virtual-{scenario}-{stream}'
345 # Job template for virtual deployment
347 # Required Variables:
348 # stream: branch with - in place of / (eg. stable)
349 # branch: branch (eg. stable)
358 credentials-id: '{ssh-credentials}'
366 gs-pathname: '{gs-pathname}'
368 name: DEPLOY_SCENARIO
369 default: '{scenario}'
370 description: "Scenario to deploy with."
374 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
378 use-build-blocker: true
389 - 'apex-workspace-cleanup'
392 name: 'apex-deploy-baremetal-{scenario}-{stream}'
394 # Job template for baremetal deployment
396 # Required Variables:
397 # stream: branch with - in place of / (eg. stable)
398 # branch: branch (eg. stable)
405 credentials-id: '{ssh-credentials}'
413 gs-pathname: '{gs-pathname}'
415 name: DEPLOY_SCENARIO
416 default: '{scenario}'
417 description: "Scenario to deploy with."
421 use-build-blocker: true
431 - 'apex-workspace-cleanup'
435 name: 'apex-daily-{stream}'
437 # Job template for daily build
439 # Required Variables:
440 # stream: branch with - in place of / (eg. stable)
441 # branch: branch (eg. stable)
442 node: '{daily-slave}'
448 credentials-id: '{ssh-credentials}'
456 gs-pathname: '{gs-pathname}'
460 use-build-blocker: true
473 - project: 'apex-build-{stream}'
475 current-parameters: true
479 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
480 predefined-parameters: |
481 BUILD_DIRECTORY=apex-build-{stream}/build
486 build-step-failure-threshold: 'never'
489 - project: 'functest-apex-{daily-slave}-daily-{stream}'
490 predefined-parameters:
491 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
495 build-step-failure-threshold: 'never'
496 failure-threshold: 'never'
497 unstable-threshold: 'FAILURE'
499 - project: 'yardstick-apex-{slave}-daily-{stream}'
500 predefined-parameters:
501 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
505 build-step-failure-threshold: 'never'
506 failure-threshold: 'never'
507 unstable-threshold: 'FAILURE'
509 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
510 predefined-parameters: |
511 BUILD_DIRECTORY=apex-build-{stream}/build
516 build-step-failure-threshold: 'never'
519 - project: 'functest-apex-{daily-slave}-daily-{stream}'
520 predefined-parameters:
521 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
525 build-step-failure-threshold: 'never'
526 failure-threshold: 'never'
527 unstable-threshold: 'FAILURE'
529 - project: 'yardstick-apex-{slave}-daily-{stream}'
530 predefined-parameters:
531 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
535 build-step-failure-threshold: 'never'
536 failure-threshold: 'never'
537 unstable-threshold: 'FAILURE'
539 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
540 predefined-parameters: |
541 BUILD_DIRECTORY=apex-build-{stream}/build
546 build-step-failure-threshold: 'never'
549 - project: 'functest-apex-{daily-slave}-daily-{stream}'
550 predefined-parameters:
551 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
555 build-step-failure-threshold: 'never'
556 failure-threshold: 'never'
557 unstable-threshold: 'FAILURE'
559 - project: 'yardstick-apex-{slave}-daily-{stream}'
560 predefined-parameters:
561 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
565 build-step-failure-threshold: 'never'
566 failure-threshold: 'never'
567 unstable-threshold: 'FAILURE'
569 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream}'
570 predefined-parameters: |
571 BUILD_DIRECTORY=apex-build-{stream}/build
576 build-step-failure-threshold: 'never'
579 - project: 'functest-apex-{daily-slave}-daily-{stream}'
580 predefined-parameters:
581 DEPLOY_SCENARIO=os-onos-nofeature-ha
585 build-step-failure-threshold: 'never'
586 failure-threshold: 'never'
587 unstable-threshold: 'FAILURE'
589 - project: 'yardstick-apex-{slave}-daily-{stream}'
590 predefined-parameters:
591 DEPLOY_SCENARIO=os-onos-nofeature-ha
595 build-step-failure-threshold: 'never'
596 failure-threshold: 'never'
597 unstable-threshold: 'FAILURE'
599 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream}'
600 predefined-parameters: |
601 BUILD_DIRECTORY=apex-build-{stream}/build
606 build-step-failure-threshold: 'never'
609 - project: 'functest-apex-{daily-slave}-daily-{stream}'
610 predefined-parameters:
611 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
615 build-step-failure-threshold: 'never'
616 failure-threshold: 'never'
617 unstable-threshold: 'FAILURE'
619 - project: 'yardstick-apex-{slave}-daily-{stream}'
620 predefined-parameters:
621 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
625 build-step-failure-threshold: 'never'
626 failure-threshold: 'never'
627 unstable-threshold: 'FAILURE'
629 - project: 'apex-deploy-baremetal-os-onos-sfc-ha-{stream}'
630 predefined-parameters: |
631 BUILD_DIRECTORY=apex-build-{stream}/build
636 build-step-failure-threshold: 'never'
639 - project: 'functest-apex-{daily-slave}-daily-{stream}'
640 predefined-parameters:
641 DEPLOY_SCENARIO=os-onos-sfc-ha
645 build-step-failure-threshold: 'never'
646 failure-threshold: 'never'
647 unstable-threshold: 'FAILURE'
649 - project: 'yardstick-apex-{slave}-daily-{stream}'
650 predefined-parameters:
651 DEPLOY_SCENARIO=os-onos-sfc-ha
655 build-step-failure-threshold: 'never'
656 failure-threshold: 'never'
657 unstable-threshold: 'FAILURE'
659 - project: 'apex-deploy-baremetal-os-odl_l2-sfc-noha-{stream}'
660 predefined-parameters: |
661 BUILD_DIRECTORY=apex-build-{stream}/build
666 build-step-failure-threshold: 'never'
669 - project: 'functest-apex-{daily-slave}-daily-{stream}'
670 predefined-parameters:
671 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
675 build-step-failure-threshold: 'never'
676 failure-threshold: 'never'
677 unstable-threshold: 'FAILURE'
679 - project: 'yardstick-apex-{slave}-daily-{stream}'
680 predefined-parameters:
681 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
685 build-step-failure-threshold: 'never'
686 failure-threshold: 'never'
687 unstable-threshold: 'FAILURE'
689 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-noha-{stream}'
690 predefined-parameters: |
691 BUILD_DIRECTORY=apex-build-{stream}/build
696 build-step-failure-threshold: 'never'
699 - project: 'functest-apex-{daily-slave}-daily-{stream}'
700 predefined-parameters:
701 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
705 build-step-failure-threshold: 'never'
706 failure-threshold: 'never'
707 unstable-threshold: 'FAILURE'
709 - project: 'yardstick-apex-{slave}-daily-{stream}'
710 predefined-parameters:
711 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
715 build-step-failure-threshold: 'never'
716 failure-threshold: 'never'
717 unstable-threshold: 'FAILURE'
719 - project: 'apex-deploy-baremetal-os-nosdn-fdio-noha-{stream}'
720 predefined-parameters: |
721 BUILD_DIRECTORY=apex-build-{stream}/build
726 build-step-failure-threshold: 'never'
729 - project: 'functest-apex-{daily-slave}-daily-{stream}'
730 predefined-parameters:
731 DEPLOY_SCENARIO=os-nosdn-fdio-noha
735 build-step-failure-threshold: 'never'
736 failure-threshold: 'never'
737 unstable-threshold: 'FAILURE'
739 - project: 'yardstick-apex-{slave}-daily-{stream}'
740 predefined-parameters:
741 DEPLOY_SCENARIO=os-nosdn-fdio-noha
745 build-step-failure-threshold: 'never'
746 failure-threshold: 'never'
747 unstable-threshold: 'FAILURE'
749 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-ipv6-{stream}'
750 predefined-parameters: |
751 BUILD_DIRECTORY=apex-build-{stream}/build
756 build-step-failure-threshold: 'never'
759 - project: 'apex-deploy-baremetal-os-nosdn-ovs-noha-{stream}'
760 predefined-parameters: |
761 BUILD_DIRECTORY=apex-build-{stream}/build
766 build-step-failure-threshold: 'never'
769 - project: 'functest-apex-{daily-slave}-daily-{stream}'
770 predefined-parameters:
771 DEPLOY_SCENARIO=os-nosdn-ovs-noha
775 build-step-failure-threshold: 'never'
776 failure-threshold: 'never'
777 unstable-threshold: 'FAILURE'
779 - project: 'yardstick-apex-{slave}-daily-{stream}'
780 predefined-parameters:
781 DEPLOY_SCENARIO=os-nosdn-ovs-noha
785 build-step-failure-threshold: 'never'
786 failure-threshold: 'never'
787 unstable-threshold: 'FAILURE'
790 name: 'apex-gs-clean-{stream}'
792 # Job template for clean
794 # Required Variables:
795 # stream: branch with - in place of / (eg. stable)
804 gs-pathname: '{gs-pathname}'
810 - 'apex-gs-clean-{stream}'
813 ########################
815 ########################
822 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
824 name: ARTIFACT_VERSION
826 description: "Artifact version type"
828 name: BUILD_DIRECTORY
829 default: $WORKSPACE/build
830 description: "Directory where the build artifact will be located upon the completion of the build."
832 name: CACHE_DIRECTORY
833 default: $HOME/opnfv/cache{gs-pathname}
834 description: "Directory where the cache to be used during the build is located."
837 default: https://gerrit.opnfv.org/gerrit/$PROJECT
838 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
841 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
842 description: "URL to Google Storage."
844 ########################
846 ########################
848 name: 'apex-unit-test'
851 !include-raw: ./apex-unit-test.sh
857 !include-raw: ./apex-build.sh
860 name: 'apex-workspace-cleanup'
863 !include-raw: ./apex-workspace-cleanup.sh
866 name: 'apex-upload-artifact'
869 !include-raw: ./apex-upload-artifact.sh
872 name: 'apex-gs-cleanup'
875 !include-raw: ./apex-gs-cleanup.sh
881 !include-raw: ./apex-deploy.sh
884 #######################
886 ########################
890 - timed: '0 0 20 8 *'
892 name: 'apex-colorado'
896 name: 'apex-gs-clean-{stream}'