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}'
234 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream1}'
235 predefined-parameters: |
236 BUILD_DIRECTORY=apex-verify-{stream1}
242 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
243 predefined-parameters: |
244 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
245 FUNCTEST_SUITE_NAME=healthcheck
249 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream1}'
250 predefined-parameters: |
251 BUILD_DIRECTORY=apex-verify-{stream1}
257 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
258 predefined-parameters: |
259 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
260 FUNCTEST_SUITE_NAME=healthcheck
263 - 'apex-workspace-cleanup'
266 name: 'apex-runner-{platform}-{scenario}-{stream}'
268 # runner jobs for deploying manually
276 gs-pathname: '{gs-pathname}'
283 default: https://gerrit.opnfv.org/gerrit/$PROJECT
284 description: "Used for overriding the GIT URL coming from parameters macro."
287 - gerrit-trigger-scm:
288 credentials-id: '{ssh-credentials}'
290 choosing-strategy: 'default'
294 use-build-blocker: true
296 - 'apex-daily.*{stream}'
297 - 'apex-verify.*{stream}'
301 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
302 predefined-parameters:
307 - project: 'yardstick-apex-{slave}-daily-{stream}'
308 predefined-parameters:
309 DEPLOY_SCENARIO={scenario}
312 build-step-failure-threshold: 'never'
313 failure-threshold: 'never'
314 unstable-threshold: 'FAILURE'
316 - project: 'functest-apex-{slave}-daily-{stream}'
317 predefined-parameters:
318 DEPLOY_SCENARIO={scenario}
321 build-step-failure-threshold: 'never'
322 failure-threshold: 'never'
323 unstable-threshold: 'FAILURE'
326 name: 'apex-build-{stream}'
328 # Job template for builds
330 # Required Variables:
331 # stream: branch with - in place of / (eg. stable)
332 # branch: branch (eg. stable)
333 node: '{daily-slave}'
343 gs-pathname: '{gs-pathname}'
348 default: https://gerrit.opnfv.org/gerrit/$PROJECT
349 description: "Used for overriding the GIT URL coming from parameters macro."
353 credentials-id: '{ssh-credentials}'
359 use-build-blocker: true
362 - 'apex-deploy.*{stream}'
370 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
371 predefined-parameters: |
372 BUILD_DIRECTORY=apex-build-{stream}/build
377 - 'apex-upload-artifact'
380 name: 'apex-deploy-virtual-{scenario}-{stream}'
382 # Job template for virtual deployment
384 # Required Variables:
385 # stream: branch with - in place of / (eg. stable)
386 # branch: branch (eg. stable)
395 credentials-id: '{ssh-credentials}'
403 gs-pathname: '{gs-pathname}'
405 name: DEPLOY_SCENARIO
406 default: '{scenario}'
407 description: "Scenario to deploy with."
411 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
415 use-build-blocker: true
418 - 'apex-deploy.*{stream}'
425 - 'apex-workspace-cleanup'
428 name: 'apex-deploy-baremetal-{scenario}-{stream}'
430 # Job template for baremetal deployment
432 # Required Variables:
433 # stream: branch with - in place of / (eg. stable)
434 # branch: branch (eg. stable)
441 credentials-id: '{ssh-credentials}'
449 gs-pathname: '{gs-pathname}'
451 name: DEPLOY_SCENARIO
452 default: '{scenario}'
453 description: "Scenario to deploy with."
457 use-build-blocker: true
460 - 'apex-verify.*{stream}'
461 - 'apex-deploy.*{stream}'
462 - 'apex-build.*{stream}'
467 - 'apex-workspace-cleanup'
471 name: 'apex-daily-{stream2}'
473 # Job template for daily build
475 # Required Variables:
476 # stream: branch with - in place of / (eg. stable)
477 # branch: branch (eg. stable)
484 credentials-id: '{ssh-credentials}'
492 gs-pathname: '{gs-pathname}'
496 use-build-blocker: true
498 - 'apex-verify.*{stream2}'
499 - 'apex-deploy.*{stream2}'
500 - 'apex-build.*{stream2}'
501 - 'apex-runner.*{stream2}'
508 - project: 'apex-build-{stream2}'
510 current-parameters: true
513 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
514 predefined-parameters: |
515 BUILD_DIRECTORY=apex-build-{stream2}/build_output
520 - project: 'functest-apex-{slave}-daily-{stream2}'
521 predefined-parameters:
522 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-{stream2}'
530 predefined-parameters:
531 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
534 build-step-failure-threshold: 'never'
535 failure-threshold: 'never'
536 unstable-threshold: 'FAILURE'
538 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
539 predefined-parameters:
540 BUILD_DIRECTORY=apex-build-{stream2}/build_output
544 - project: 'functest-apex-{slave}-daily-{stream2}'
545 predefined-parameters:
546 DEPLOY_SCENARIO=os-onos-nofeature-ha
549 build-step-failure-threshold: 'never'
550 failure-threshold: 'never'
551 unstable-threshold: 'FAILURE'
553 - project: 'yardstick-apex-{slave}-daily-{stream2}'
554 predefined-parameters:
555 DEPLOY_SCENARIO=os-onos-nofeature-ha
558 build-step-failure-threshold: 'never'
559 failure-threshold: 'never'
560 unstable-threshold: 'FAILURE'
562 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
563 predefined-parameters:
564 BUILD_DIRECTORY=apex-build-{stream2}/build_output
568 - project: 'functest-apex-{slave}-daily-{stream2}'
569 predefined-parameters:
570 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
573 build-step-failure-threshold: 'never'
574 failure-threshold: 'never'
575 unstable-threshold: 'FAILURE'
577 - project: 'yardstick-apex-{slave}-daily-{stream2}'
578 predefined-parameters:
579 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
582 build-step-failure-threshold: 'never'
583 failure-threshold: 'never'
584 unstable-threshold: 'FAILURE'
586 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream2}'
587 predefined-parameters:
588 BUILD_DIRECTORY=apex-build-{stream2}/build_output
592 - project: 'functest-apex-{slave}-daily-{stream2}'
593 predefined-parameters:
594 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
597 build-step-failure-threshold: 'never'
598 failure-threshold: 'never'
599 unstable-threshold: 'FAILURE'
601 - project: 'yardstick-apex-{slave}-daily-{stream2}'
602 predefined-parameters:
603 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
606 build-step-failure-threshold: 'never'
607 failure-threshold: 'never'
608 unstable-threshold: 'FAILURE'
612 name: 'apex-daily-{stream1}'
614 # Job template for daily build
616 # Required Variables:
617 # stream: branch with - in place of / (eg. stable)
618 # branch: branch (eg. stable)
619 node: '{daily-slave}'
625 credentials-id: '{ssh-credentials}'
633 gs-pathname: '{gs-pathname}'
637 use-build-blocker: true
640 - 'apex-verify.*{stream1}'
641 - 'apex-deploy.*{stream1}'
642 - 'apex-build.*{stream1}'
643 - 'apex-runner.*{stream1}'
650 - project: 'apex-build-{stream1}'
652 current-parameters: true
656 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
657 predefined-parameters: |
658 BUILD_DIRECTORY=apex-build-{stream1}/build
664 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
665 predefined-parameters:
666 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
670 build-step-failure-threshold: 'never'
671 failure-threshold: 'never'
672 unstable-threshold: 'FAILURE'
674 - project: 'yardstick-apex-{slave}-daily-{stream1}'
675 predefined-parameters:
676 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
680 build-step-failure-threshold: 'never'
681 failure-threshold: 'never'
682 unstable-threshold: 'FAILURE'
684 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
685 predefined-parameters: |
686 BUILD_DIRECTORY=apex-build-{stream1}/build
692 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
693 predefined-parameters:
694 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
698 build-step-failure-threshold: 'never'
699 failure-threshold: 'never'
700 unstable-threshold: 'FAILURE'
702 - project: 'yardstick-apex-{slave}-daily-{stream1}'
703 predefined-parameters:
704 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
708 build-step-failure-threshold: 'never'
709 failure-threshold: 'never'
710 unstable-threshold: 'FAILURE'
712 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
713 predefined-parameters: |
714 BUILD_DIRECTORY=apex-build-{stream1}/build
720 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
721 predefined-parameters:
722 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
726 build-step-failure-threshold: 'never'
727 failure-threshold: 'never'
728 unstable-threshold: 'FAILURE'
730 - project: 'yardstick-apex-{slave}-daily-{stream1}'
731 predefined-parameters:
732 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
736 build-step-failure-threshold: 'never'
737 failure-threshold: 'never'
738 unstable-threshold: 'FAILURE'
741 name: 'apex-gs-clean-{stream}'
743 # Job template for clean
745 # Required Variables:
746 # stream: branch with - in place of / (eg. stable)
755 gs-pathname: '{gs-pathname}'
761 - 'apex-gs-clean-{stream}'
764 ########################
766 ########################
773 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
775 name: ARTIFACT_VERSION
777 description: "Artifact version type"
779 name: BUILD_DIRECTORY
780 default: $WORKSPACE/build
781 description: "Directory where the build artifact will be located upon the completion of the build."
783 name: CACHE_DIRECTORY
784 default: $HOME/opnfv/cache{gs-pathname}
785 description: "Directory where the cache to be used during the build is located."
788 default: https://gerrit.opnfv.org/gerrit/$PROJECT
789 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
792 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
793 description: "URL to Google Storage."
795 ########################
797 ########################
799 name: 'apex-unit-test'
802 !include-raw: ./apex-unit-test.sh
808 !include-raw: ./apex-build.sh
811 name: 'apex-workspace-cleanup'
814 !include-raw: ./apex-workspace-cleanup.sh
817 name: 'apex-upload-artifact'
820 !include-raw: ./apex-upload-artifact.sh
823 name: 'apex-gs-cleanup'
826 !include-raw: ./apex-gs-cleanup.sh
832 !include-raw: ./apex-deploy.sh
835 #######################
837 ########################
843 name: 'apex-brahmaputra'
847 name: 'apex-gs-clean-{stream}'