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=vping_userdata
249 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream1}'
250 predefined-parameters: |
251 BUILD_DIRECTORY=apex-verify-{stream1}
256 - 'apex-workspace-cleanup'
259 name: 'apex-runner-{platform}-{scenario}-{stream}'
261 # runner jobs for deploying manually
269 gs-pathname: '{gs-pathname}'
276 default: https://gerrit.opnfv.org/gerrit/$PROJECT
277 description: "Used for overriding the GIT URL coming from parameters macro."
280 - gerrit-trigger-scm:
281 credentials-id: '{ssh-credentials}'
283 choosing-strategy: 'default'
287 use-build-blocker: true
289 - 'apex-daily.*{stream}'
290 - 'apex-verify.*{stream}'
294 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
295 predefined-parameters:
300 - project: 'yardstick-apex-{slave}-daily-{stream}'
301 predefined-parameters:
302 DEPLOY_SCENARIO={scenario}
305 build-step-failure-threshold: 'never'
306 failure-threshold: 'never'
307 unstable-threshold: 'FAILURE'
309 - project: 'functest-apex-{slave}-daily-{stream}'
310 predefined-parameters:
311 DEPLOY_SCENARIO={scenario}
314 build-step-failure-threshold: 'never'
315 failure-threshold: 'never'
316 unstable-threshold: 'FAILURE'
319 name: 'apex-build-{stream}'
321 # Job template for builds
323 # Required Variables:
324 # stream: branch with - in place of / (eg. stable)
325 # branch: branch (eg. stable)
326 node: '{daily-slave}'
336 gs-pathname: '{gs-pathname}'
341 default: https://gerrit.opnfv.org/gerrit/$PROJECT
342 description: "Used for overriding the GIT URL coming from parameters macro."
346 credentials-id: '{ssh-credentials}'
352 use-build-blocker: true
355 - 'apex-deploy.*{stream}'
363 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
364 predefined-parameters: |
365 BUILD_DIRECTORY=apex-build-{stream}/build
370 - 'apex-upload-artifact'
373 name: 'apex-deploy-virtual-{scenario}-{stream}'
375 # Job template for virtual deployment
377 # Required Variables:
378 # stream: branch with - in place of / (eg. stable)
379 # branch: branch (eg. stable)
388 credentials-id: '{ssh-credentials}'
396 gs-pathname: '{gs-pathname}'
398 name: DEPLOY_SCENARIO
399 default: '{scenario}'
400 description: "Scenario to deploy with."
404 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
408 use-build-blocker: true
411 - 'apex-deploy.*{stream}'
418 - 'apex-workspace-cleanup'
421 name: 'apex-deploy-baremetal-{scenario}-{stream}'
423 # Job template for baremetal deployment
425 # Required Variables:
426 # stream: branch with - in place of / (eg. stable)
427 # branch: branch (eg. stable)
434 credentials-id: '{ssh-credentials}'
442 gs-pathname: '{gs-pathname}'
444 name: DEPLOY_SCENARIO
445 default: '{scenario}'
446 description: "Scenario to deploy with."
450 use-build-blocker: true
453 - 'apex-verify.*{stream}'
454 - 'apex-deploy.*{stream}'
455 - 'apex-build.*{stream}'
460 - 'apex-workspace-cleanup'
464 name: 'apex-daily-{stream2}'
466 # Job template for daily build
468 # Required Variables:
469 # stream: branch with - in place of / (eg. stable)
470 # branch: branch (eg. stable)
477 credentials-id: '{ssh-credentials}'
485 gs-pathname: '{gs-pathname}'
489 use-build-blocker: true
491 - 'apex-verify.*{stream2}'
492 - 'apex-deploy.*{stream2}'
493 - 'apex-build.*{stream2}'
494 - 'apex-runner.*{stream2}'
501 - project: 'apex-build-{stream2}'
503 current-parameters: true
506 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
507 predefined-parameters: |
508 BUILD_DIRECTORY=apex-build-{stream2}/build_output
513 - project: 'functest-apex-{slave}-daily-{stream2}'
514 predefined-parameters:
515 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
518 build-step-failure-threshold: 'never'
519 failure-threshold: 'never'
520 unstable-threshold: 'FAILURE'
522 - project: 'yardstick-apex-{slave}-daily-{stream2}'
523 predefined-parameters:
524 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
527 build-step-failure-threshold: 'never'
528 failure-threshold: 'never'
529 unstable-threshold: 'FAILURE'
531 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
532 predefined-parameters:
533 BUILD_DIRECTORY=apex-build-{stream2}/build_output
537 - project: 'functest-apex-{slave}-daily-{stream2}'
538 predefined-parameters:
539 DEPLOY_SCENARIO=os-onos-nofeature-ha
542 build-step-failure-threshold: 'never'
543 failure-threshold: 'never'
544 unstable-threshold: 'FAILURE'
546 - project: 'yardstick-apex-{slave}-daily-{stream2}'
547 predefined-parameters:
548 DEPLOY_SCENARIO=os-onos-nofeature-ha
551 build-step-failure-threshold: 'never'
552 failure-threshold: 'never'
553 unstable-threshold: 'FAILURE'
555 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
556 predefined-parameters:
557 BUILD_DIRECTORY=apex-build-{stream2}/build_output
561 - project: 'functest-apex-{slave}-daily-{stream2}'
562 predefined-parameters:
563 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
566 build-step-failure-threshold: 'never'
567 failure-threshold: 'never'
568 unstable-threshold: 'FAILURE'
570 - project: 'yardstick-apex-{slave}-daily-{stream2}'
571 predefined-parameters:
572 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
575 build-step-failure-threshold: 'never'
576 failure-threshold: 'never'
577 unstable-threshold: 'FAILURE'
579 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream2}'
580 predefined-parameters:
581 BUILD_DIRECTORY=apex-build-{stream2}/build_output
585 - project: 'functest-apex-{slave}-daily-{stream2}'
586 predefined-parameters:
587 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
590 build-step-failure-threshold: 'never'
591 failure-threshold: 'never'
592 unstable-threshold: 'FAILURE'
594 - project: 'yardstick-apex-{slave}-daily-{stream2}'
595 predefined-parameters:
596 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
599 build-step-failure-threshold: 'never'
600 failure-threshold: 'never'
601 unstable-threshold: 'FAILURE'
605 name: 'apex-daily-{stream1}'
607 # Job template for daily build
609 # Required Variables:
610 # stream: branch with - in place of / (eg. stable)
611 # branch: branch (eg. stable)
612 node: '{daily-slave}'
618 credentials-id: '{ssh-credentials}'
626 gs-pathname: '{gs-pathname}'
630 use-build-blocker: true
633 - 'apex-verify.*{stream1}'
634 - 'apex-deploy.*{stream1}'
635 - 'apex-build.*{stream1}'
636 - 'apex-runner.*{stream1}'
643 - project: 'apex-build-{stream1}'
645 current-parameters: true
649 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
650 predefined-parameters: |
651 BUILD_DIRECTORY=apex-build-{stream1}/build
657 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
658 predefined-parameters:
659 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
663 build-step-failure-threshold: 'never'
664 failure-threshold: 'never'
665 unstable-threshold: 'FAILURE'
667 - project: 'yardstick-apex-{slave}-daily-{stream1}'
668 predefined-parameters:
669 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
673 build-step-failure-threshold: 'never'
674 failure-threshold: 'never'
675 unstable-threshold: 'FAILURE'
677 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
678 predefined-parameters: |
679 BUILD_DIRECTORY=apex-build-{stream1}/build
685 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
686 predefined-parameters:
687 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
691 build-step-failure-threshold: 'never'
692 failure-threshold: 'never'
693 unstable-threshold: 'FAILURE'
695 - project: 'yardstick-apex-{slave}-daily-{stream1}'
696 predefined-parameters:
697 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
701 build-step-failure-threshold: 'never'
702 failure-threshold: 'never'
703 unstable-threshold: 'FAILURE'
705 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
706 predefined-parameters: |
707 BUILD_DIRECTORY=apex-build-{stream1}/build
713 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
714 predefined-parameters:
715 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
719 build-step-failure-threshold: 'never'
720 failure-threshold: 'never'
721 unstable-threshold: 'FAILURE'
723 - project: 'yardstick-apex-{slave}-daily-{stream1}'
724 predefined-parameters:
725 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
729 build-step-failure-threshold: 'never'
730 failure-threshold: 'never'
731 unstable-threshold: 'FAILURE'
734 name: 'apex-gs-clean-{stream}'
736 # Job template for clean
738 # Required Variables:
739 # stream: branch with - in place of / (eg. stable)
748 gs-pathname: '{gs-pathname}'
754 - 'apex-gs-clean-{stream}'
757 ########################
759 ########################
766 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
768 name: ARTIFACT_VERSION
770 description: "Artifact version type"
772 name: BUILD_DIRECTORY
773 default: $WORKSPACE/build
774 description: "Directory where the build artifact will be located upon the completion of the build."
776 name: CACHE_DIRECTORY
777 default: $HOME/opnfv/cache{gs-pathname}
778 description: "Directory where the cache to be used during the build is located."
781 default: https://gerrit.opnfv.org/gerrit/$PROJECT
782 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
785 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
786 description: "URL to Google Storage."
788 ########################
790 ########################
792 name: 'apex-unit-test'
795 !include-raw: ./apex-unit-test.sh
801 !include-raw: ./apex-build.sh
804 name: 'apex-workspace-cleanup'
807 !include-raw: ./apex-workspace-cleanup.sh
810 name: 'apex-upload-artifact'
813 !include-raw: ./apex-upload-artifact.sh
816 name: 'apex-gs-cleanup'
819 !include-raw: ./apex-gs-cleanup.sh
825 !include-raw: ./apex-deploy.sh
828 #######################
830 ########################
836 name: 'apex-brahmaputra'
840 name: 'apex-gs-clean-{stream}'