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-build-{stream}'
329 # Job template for builds
331 # Required Variables:
332 # stream: branch with - in place of / (eg. stable)
333 # branch: branch (eg. stable)
334 node: '{daily-slave}'
344 gs-pathname: '{gs-pathname}'
349 default: https://gerrit.opnfv.org/gerrit/$PROJECT
350 description: "Used for overriding the GIT URL coming from parameters macro."
354 credentials-id: '{ssh-credentials}'
360 use-build-blocker: true
363 - 'apex-deploy.*{stream}'
372 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
373 predefined-parameters: |
374 BUILD_DIRECTORY=apex-build-{stream}/build
379 - 'apex-upload-artifact'
382 name: 'apex-deploy-virtual-{scenario}-{stream}'
384 # Job template for virtual deployment
386 # Required Variables:
387 # stream: branch with - in place of / (eg. stable)
388 # branch: branch (eg. stable)
397 credentials-id: '{ssh-credentials}'
405 gs-pathname: '{gs-pathname}'
407 name: DEPLOY_SCENARIO
408 default: '{scenario}'
409 description: "Scenario to deploy with."
413 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
417 use-build-blocker: true
420 - 'apex-deploy.*{stream}'
428 - 'apex-workspace-cleanup'
431 name: 'apex-deploy-baremetal-{scenario}-{stream}'
433 # Job template for baremetal deployment
435 # Required Variables:
436 # stream: branch with - in place of / (eg. stable)
437 # branch: branch (eg. stable)
444 credentials-id: '{ssh-credentials}'
452 gs-pathname: '{gs-pathname}'
454 name: DEPLOY_SCENARIO
455 default: '{scenario}'
456 description: "Scenario to deploy with."
460 use-build-blocker: true
463 - 'apex-verify.*{stream}'
464 - 'apex-deploy.*{stream}'
465 - 'apex-build.*{stream}'
470 - 'apex-workspace-cleanup'
474 name: 'apex-daily-{stream2}'
476 # Job template for daily build
478 # Required Variables:
479 # stream: branch with - in place of / (eg. stable)
480 # branch: branch (eg. stable)
487 credentials-id: '{ssh-credentials}'
495 gs-pathname: '{gs-pathname}'
499 use-build-blocker: true
501 - 'apex-verify.*{stream2}'
502 - 'apex-deploy.*{stream2}'
503 - 'apex-build.*{stream2}'
504 - 'apex-runner.*{stream2}'
511 - project: 'apex-build-{stream2}'
513 current-parameters: true
516 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
517 predefined-parameters: |
518 BUILD_DIRECTORY=apex-build-{stream2}/build_output
523 - project: 'functest-apex-{slave}-daily-{stream2}'
524 predefined-parameters:
525 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
528 build-step-failure-threshold: 'never'
529 failure-threshold: 'never'
530 unstable-threshold: 'FAILURE'
532 - project: 'yardstick-apex-{slave}-daily-{stream2}'
533 predefined-parameters:
534 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
537 build-step-failure-threshold: 'never'
538 failure-threshold: 'never'
539 unstable-threshold: 'FAILURE'
541 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
542 predefined-parameters:
543 BUILD_DIRECTORY=apex-build-{stream2}/build_output
547 - project: 'functest-apex-{slave}-daily-{stream2}'
548 predefined-parameters:
549 DEPLOY_SCENARIO=os-onos-nofeature-ha
552 build-step-failure-threshold: 'never'
553 failure-threshold: 'never'
554 unstable-threshold: 'FAILURE'
556 - project: 'yardstick-apex-{slave}-daily-{stream2}'
557 predefined-parameters:
558 DEPLOY_SCENARIO=os-onos-nofeature-ha
561 build-step-failure-threshold: 'never'
562 failure-threshold: 'never'
563 unstable-threshold: 'FAILURE'
565 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
566 predefined-parameters:
567 BUILD_DIRECTORY=apex-build-{stream2}/build_output
571 - project: 'functest-apex-{slave}-daily-{stream2}'
572 predefined-parameters:
573 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
576 build-step-failure-threshold: 'never'
577 failure-threshold: 'never'
578 unstable-threshold: 'FAILURE'
580 - project: 'yardstick-apex-{slave}-daily-{stream2}'
581 predefined-parameters:
582 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
585 build-step-failure-threshold: 'never'
586 failure-threshold: 'never'
587 unstable-threshold: 'FAILURE'
589 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream2}'
590 predefined-parameters:
591 BUILD_DIRECTORY=apex-build-{stream2}/build_output
595 - project: 'functest-apex-{slave}-daily-{stream2}'
596 predefined-parameters:
597 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
600 build-step-failure-threshold: 'never'
601 failure-threshold: 'never'
602 unstable-threshold: 'FAILURE'
604 - project: 'yardstick-apex-{slave}-daily-{stream2}'
605 predefined-parameters:
606 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
609 build-step-failure-threshold: 'never'
610 failure-threshold: 'never'
611 unstable-threshold: 'FAILURE'
615 name: 'apex-daily-{stream1}'
617 # Job template for daily build
619 # Required Variables:
620 # stream: branch with - in place of / (eg. stable)
621 # branch: branch (eg. stable)
622 node: '{daily-slave}'
628 credentials-id: '{ssh-credentials}'
636 gs-pathname: '{gs-pathname}'
640 use-build-blocker: true
643 - 'apex-verify.*{stream1}'
644 - 'apex-deploy.*{stream1}'
645 - 'apex-build.*{stream1}'
646 - 'apex-runner.*{stream1}'
653 - project: 'apex-build-{stream1}'
655 current-parameters: true
659 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
660 predefined-parameters: |
661 BUILD_DIRECTORY=apex-build-{stream1}/build
666 build-step-failure-threshold: 'never'
669 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
670 predefined-parameters:
671 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
675 build-step-failure-threshold: 'never'
676 failure-threshold: 'never'
677 unstable-threshold: 'FAILURE'
679 - project: 'yardstick-apex-{slave}-daily-{stream1}'
680 predefined-parameters:
681 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
685 build-step-failure-threshold: 'never'
686 failure-threshold: 'never'
687 unstable-threshold: 'FAILURE'
689 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
690 predefined-parameters: |
691 BUILD_DIRECTORY=apex-build-{stream1}/build
696 build-step-failure-threshold: 'never'
699 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
700 predefined-parameters:
701 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
705 build-step-failure-threshold: 'never'
706 failure-threshold: 'never'
707 unstable-threshold: 'FAILURE'
709 - project: 'yardstick-apex-{slave}-daily-{stream1}'
710 predefined-parameters:
711 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
715 build-step-failure-threshold: 'never'
716 failure-threshold: 'never'
717 unstable-threshold: 'FAILURE'
719 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
720 predefined-parameters: |
721 BUILD_DIRECTORY=apex-build-{stream1}/build
726 build-step-failure-threshold: 'never'
729 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
730 predefined-parameters:
731 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
735 build-step-failure-threshold: 'never'
736 failure-threshold: 'never'
737 unstable-threshold: 'FAILURE'
739 - project: 'yardstick-apex-{slave}-daily-{stream1}'
740 predefined-parameters:
741 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
745 build-step-failure-threshold: 'never'
746 failure-threshold: 'never'
747 unstable-threshold: 'FAILURE'
749 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream1}'
750 predefined-parameters: |
751 BUILD_DIRECTORY=apex-build-{stream1}/build
756 build-step-failure-threshold: 'never'
759 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
760 predefined-parameters:
761 DEPLOY_SCENARIO=os-onos-nofeature-ha
765 build-step-failure-threshold: 'never'
766 failure-threshold: 'never'
767 unstable-threshold: 'FAILURE'
769 - project: 'yardstick-apex-{slave}-daily-{stream1}'
770 predefined-parameters:
771 DEPLOY_SCENARIO=os-onos-nofeature-ha
775 build-step-failure-threshold: 'never'
776 failure-threshold: 'never'
777 unstable-threshold: 'FAILURE'
780 name: 'apex-gs-clean-{stream}'
782 # Job template for clean
784 # Required Variables:
785 # stream: branch with - in place of / (eg. stable)
794 gs-pathname: '{gs-pathname}'
800 - 'apex-gs-clean-{stream}'
803 ########################
805 ########################
812 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
814 name: ARTIFACT_VERSION
816 description: "Artifact version type"
818 name: BUILD_DIRECTORY
819 default: $WORKSPACE/build
820 description: "Directory where the build artifact will be located upon the completion of the build."
822 name: CACHE_DIRECTORY
823 default: $HOME/opnfv/cache{gs-pathname}
824 description: "Directory where the cache to be used during the build is located."
827 default: https://gerrit.opnfv.org/gerrit/$PROJECT
828 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
831 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
832 description: "URL to Google Storage."
834 ########################
836 ########################
838 name: 'apex-unit-test'
841 !include-raw: ./apex-unit-test.sh
847 !include-raw: ./apex-build.sh
850 name: 'apex-workspace-cleanup'
853 !include-raw: ./apex-workspace-cleanup.sh
856 name: 'apex-upload-artifact'
859 !include-raw: ./apex-upload-artifact.sh
862 name: 'apex-gs-cleanup'
865 !include-raw: ./apex-gs-cleanup.sh
871 !include-raw: ./apex-deploy.sh
874 #######################
876 ########################
882 name: 'apex-brahmaputra'
886 name: 'apex-gs-clean-{stream}'