4 - 'apex-verify-{stream}'
5 - 'apex-verify-unit-tests-{stream}'
6 - 'apex-runner-{platform}-{scenario}-{stream}'
7 - 'apex-runner-cperf-{stream}'
8 - 'apex-build-{stream}'
9 - 'apex-deploy-virtual-{scenario}-{stream}'
10 - 'apex-deploy-baremetal-{scenario}-{stream}'
11 - 'apex-daily-{stream}'
12 - 'apex-daily-colorado'
13 - 'apex-build-colorado'
14 - 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
16 # stream: branch with - in place of / (eg. stable-arno)
17 # branch: branch (eg. stable/arno)
23 verify-slave: 'apex-verify-master'
24 daily-slave: 'apex-daily-master'
29 - 'os-nosdn-nofeature-noha'
30 - 'os-nosdn-nofeature-ha'
31 - 'os-nosdn-nofeature-ha-ipv6'
33 - 'os-nosdn-fdio-noha'
36 - 'os-odl_l2-netvirt_gbp_fdio-noha'
37 - 'os-odl_l2-sfc-noha'
38 - 'os-odl_l3-nofeature-ha'
41 - 'os-odl_l3-fdio-noha'
43 - 'os-odl_l3-fdio_dvr-noha'
44 - 'os-odl_l3-fdio_dvr-ha'
45 - 'os-odl_l3-csit-noha'
46 - 'os-onos-nofeature-ha'
54 name: 'apex-verify-unit-tests-{stream}'
56 node: '{verify-slave}'
62 gs-pathname: '{gs-pathname}'
68 default: https://gerrit.opnfv.org/gerrit/$PROJECT
69 description: "Used for overriding the GIT URL coming from parameters macro."
76 server-name: 'gerrit.opnfv.org'
78 - patchset-created-event:
79 exclude-drafts: 'false'
80 exclude-trivial-rebase: 'false'
81 exclude-no-code-change: 'true'
82 - draft-published-event
83 - comment-added-contains-event:
84 comment-contains-value: 'recheck'
85 - comment-added-contains-event:
86 comment-contains-value: 'reverify'
88 - project-compare-type: 'ANT'
89 project-pattern: 'apex'
91 - branch-compare-type: 'ANT'
92 branch-pattern: '**/{branch}'
108 name: 'apex-verify-{stream}'
110 node: '{verify-slave}'
116 gs-pathname: '{gs-pathname}'
122 default: https://gerrit.opnfv.org/gerrit/$PROJECT
123 description: "Used for overriding the GIT URL coming from parameters macro."
130 server-name: 'gerrit.opnfv.org'
132 - patchset-created-event:
133 exclude-drafts: 'false'
134 exclude-trivial-rebase: 'false'
135 exclude-no-code-change: 'true'
136 - draft-published-event
137 - comment-added-contains-event:
138 comment-contains-value: 'recheck'
139 - comment-added-contains-event:
140 comment-contains-value: 'reverify'
142 - project-compare-type: 'ANT'
143 project-pattern: 'apex'
145 - branch-compare-type: 'ANT'
146 branch-pattern: '**/{branch}'
160 use-build-blocker: true
177 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
178 predefined-parameters: |
179 BUILD_DIRECTORY=apex-verify-{stream}
185 - project: 'functest-apex-{verify-slave}-suite-{stream}'
186 predefined-parameters: |
187 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
188 FUNCTEST_SUITE_NAME=healthcheck
192 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream}'
193 predefined-parameters: |
194 BUILD_DIRECTORY=apex-verify-{stream}
200 - project: 'functest-apex-{verify-slave}-suite-{stream}'
201 predefined-parameters: |
202 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
203 FUNCTEST_SUITE_NAME=healthcheck
206 - 'apex-workspace-cleanup'
209 name: 'apex-runner-{platform}-{scenario}-{stream}'
211 # runner jobs for deploying manually
219 gs-pathname: '{gs-pathname}'
225 default: https://gerrit.opnfv.org/gerrit/$PROJECT
226 description: "Used for overriding the GIT URL coming from parameters macro."
234 use-build-blocker: true
241 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
242 predefined-parameters:
247 - project: 'yardstick-apex-{slave}-daily-{stream}'
248 predefined-parameters:
249 DEPLOY_SCENARIO={scenario}
252 build-step-failure-threshold: 'never'
253 failure-threshold: 'never'
254 unstable-threshold: 'FAILURE'
256 - project: 'functest-apex-{slave}-daily-{stream}'
257 predefined-parameters:
258 DEPLOY_SCENARIO={scenario}
261 build-step-failure-threshold: 'never'
262 failure-threshold: 'never'
263 unstable-threshold: 'FAILURE'
266 name: 'apex-runner-cperf-{stream}'
276 gs-pathname: '{gs-pathname}'
282 default: https://gerrit.opnfv.org/gerrit/$PROJECT
283 description: "Used for overriding the GIT URL coming from parameters macro."
291 use-build-blocker: false
302 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
303 predefined-parameters:
309 - project: 'cperf-apex-intel-pod2-daily-{stream}'
310 predefined-parameters:
311 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
316 name: 'apex-build-{stream}'
318 # Job template for builds
320 # Required Variables:
321 # stream: branch with - in place of / (eg. stable)
322 # branch: branch (eg. stable)
323 node: '{daily-slave}'
334 gs-pathname: '{gs-pathname}'
337 default: https://gerrit.opnfv.org/gerrit/$PROJECT
338 description: "Used for overriding the GIT URL coming from parameters macro."
346 use-build-blocker: true
358 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
359 predefined-parameters: |
360 BUILD_DIRECTORY=apex-build-{stream}/.build
365 - 'apex-upload-artifact'
368 name: 'apex-deploy-virtual-{scenario}-{stream}'
370 # Job template for virtual deployment
372 # Required Variables:
373 # stream: branch with - in place of / (eg. stable)
374 # branch: branch (eg. stable)
389 gs-pathname: '{gs-pathname}'
391 name: DEPLOY_SCENARIO
392 default: '{scenario}'
393 description: "Scenario to deploy with."
397 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
402 use-build-blocker: true
413 - 'apex-workspace-cleanup'
416 name: 'apex-deploy-baremetal-{scenario}-{stream}'
418 # Job template for baremetal deployment
420 # Required Variables:
421 # stream: branch with - in place of / (eg. stable)
422 # branch: branch (eg. stable)
435 gs-pathname: '{gs-pathname}'
437 name: DEPLOY_SCENARIO
438 default: '{scenario}'
439 description: "Scenario to deploy with."
444 use-build-blocker: true
454 - 'apex-workspace-cleanup'
458 name: 'apex-daily-{stream}'
460 # Job template for daily build
462 # Required Variables:
463 # stream: branch with - in place of / (eg. stable)
464 # branch: branch (eg. stable)
465 node: '{daily-slave}'
477 gs-pathname: '{gs-pathname}'
482 use-build-blocker: true
495 - project: 'apex-build-{stream}'
497 current-parameters: true
501 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
502 predefined-parameters: |
503 BUILD_DIRECTORY=apex-build-{stream}/.build
508 build-step-failure-threshold: 'never'
511 - project: 'functest-apex-{daily-slave}-daily-{stream}'
512 predefined-parameters:
513 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
517 build-step-failure-threshold: 'never'
518 failure-threshold: 'never'
519 unstable-threshold: 'FAILURE'
521 - project: 'yardstick-apex-{slave}-daily-{stream}'
522 predefined-parameters:
523 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
527 build-step-failure-threshold: 'never'
528 failure-threshold: 'never'
529 unstable-threshold: 'FAILURE'
531 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
532 predefined-parameters: |
533 BUILD_DIRECTORY=apex-build-{stream}/.build
538 build-step-failure-threshold: 'never'
541 - project: 'functest-apex-{daily-slave}-daily-{stream}'
542 predefined-parameters:
543 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
547 build-step-failure-threshold: 'never'
548 failure-threshold: 'never'
549 unstable-threshold: 'FAILURE'
551 - project: 'yardstick-apex-{slave}-daily-{stream}'
552 predefined-parameters:
553 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
557 build-step-failure-threshold: 'never'
558 failure-threshold: 'never'
559 unstable-threshold: 'FAILURE'
564 name: 'apex-build-colorado'
566 # Job template for builds
568 # Required Variables:
569 # stream: branch with - in place of / (eg. stable)
570 # branch: branch (eg. stable)
571 node: 'apex-daily-colorado'
580 branch: 'stable/colorado'
582 gs-pathname: '/colorado'
585 default: https://gerrit.opnfv.org/gerrit/$PROJECT
586 description: "Used for overriding the GIT URL coming from parameters macro."
594 use-build-blocker: true
605 - 'apex-upload-artifact'
608 # Colorado FDIO Deploy
610 name: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
612 # Job template for baremetal deployment
614 # Required Variables:
615 # stream: branch with - in place of / (eg. stable)
616 # branch: branch (eg. stable)
627 branch: 'stable/colorado'
629 gs-pathname: '/colorado'
631 name: DEPLOY_SCENARIO
632 default: 'os-odl_l2-fdio-ha'
633 description: "Scenario to deploy with."
638 use-build-blocker: true
648 - 'apex-workspace-cleanup'
650 # Colorado FDIO Daily
652 name: 'apex-daily-colorado'
654 # Job template for daily build
656 # Required Variables:
657 # stream: branch with - in place of / (eg. stable)
658 # branch: branch (eg. stable)
659 node: 'apex-daily-colorado'
669 branch: 'stable/colorado'
671 gs-pathname: '/colorado'
676 use-build-blocker: true
689 - project: 'apex-build-colorado'
691 current-parameters: true
695 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
696 predefined-parameters: |
697 BUILD_DIRECTORY=apex-build-colorado/.build
702 build-step-failure-threshold: 'never'
705 - project: 'functest-apex-apex-daily-colorado-daily-colorado'
706 predefined-parameters:
707 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
711 build-step-failure-threshold: 'never'
712 failure-threshold: 'never'
713 unstable-threshold: 'FAILURE'
717 name: 'apex-csit-promote-daily-{stream}'
719 # Job template for promoting CSIT Snapshots
721 # Required Variables:
722 # stream: branch with - in place of / (eg. stable)
723 # branch: branch (eg. stable)
724 node: '{daily-slave}'
730 credentials-id: '{ssh-credentials}'
738 gs-pathname: '{gs-pathname}'
742 use-build-blocker: true
751 - timed: '0 12 * * 0'
755 - project: 'apex-build-{stream}'
757 current-parameters: true
761 - project: 'apex-deploy-virtual-os-odl_l3-csit-noha-{stream}'
762 predefined-parameters: |
763 BUILD_DIRECTORY=apex-build-{stream}/build
769 - project: 'functest-apex-{verify-slave}-suite-{stream}'
770 predefined-parameters: |
771 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
772 FUNCTEST_SUITE_NAME=smoke
776 !include-raw-escape: ./apex-snapshot-create.sh
778 !include-raw-escape: ./apex-upload-artifact.sh
781 name: 'apex-gs-clean-{stream}'
783 # Job template for clean
785 # Required Variables:
786 # stream: branch with - in place of / (eg. stable)
796 gs-pathname: '{gs-pathname}'
802 - 'apex-gs-clean-{stream}'
805 ########################
807 ########################
814 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
816 name: ARTIFACT_VERSION
818 description: "Artifact version type"
820 name: BUILD_DIRECTORY
821 default: $WORKSPACE/build
822 description: "Directory where the build artifact will be located upon the completion of the build."
824 name: CACHE_DIRECTORY
825 default: $HOME/opnfv/cache{gs-pathname}
826 description: "Directory where the cache to be used during the build is located."
829 default: https://gerrit.opnfv.org/gerrit/$PROJECT
830 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
833 default: '{gs-pathname}'
834 description: "Version directory where opnfv artifacts are stored in gs repository"
837 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
838 description: "URL to Google Storage."
840 ########################
842 ########################
844 name: 'apex-unit-test'
847 !include-raw: ./apex-unit-test.sh
853 !include-raw: ./apex-build.sh
856 name: 'apex-workspace-cleanup'
859 !include-raw: ./apex-workspace-cleanup.sh
862 name: 'apex-upload-artifact'
865 !include-raw: ./apex-upload-artifact.sh
868 name: 'apex-gs-cleanup'
871 !include-raw: ./apex-gs-cleanup.sh
877 !include-raw: ./apex-deploy.sh
880 #######################
882 ########################
888 name: 'apex-colorado'
890 - timed: '0 12 * * *'
892 name: 'apex-gs-clean-{stream}'