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}'
13 # stream: branch with - in place of / (eg. stable-arno)
14 # branch: branch (eg. stable/arno)
20 verify-slave: 'apex-verify-master'
21 daily-slave: 'apex-daily-master'
26 - 'os-nosdn-nofeature-noha'
27 - 'os-nosdn-nofeature-ha'
28 - 'os-nosdn-nofeature-ha-ipv6'
30 - 'os-nosdn-fdio-noha'
31 - 'os-odl_l3-bgpvpn-ha'
32 - 'os-odl_l2-fdio-noha'
34 - 'os-odl_l2-sfc-noha'
35 - 'os-odl_l3-nofeature-ha'
36 - 'os-onos-nofeature-ha'
44 name: 'apex-verify-unit-tests-{stream}'
46 node: '{verify-slave}'
52 gs-pathname: '{gs-pathname}'
59 default: https://gerrit.opnfv.org/gerrit/$PROJECT
60 description: "Used for overriding the GIT URL coming from parameters macro."
67 server-name: 'gerrit.opnfv.org'
69 - patchset-created-event:
70 exclude-drafts: 'false'
71 exclude-trivial-rebase: 'false'
72 exclude-no-code-change: 'true'
73 - draft-published-event
74 - comment-added-contains-event:
75 comment-contains-value: 'recheck'
76 - comment-added-contains-event:
77 comment-contains-value: 'reverify'
79 - project-compare-type: 'ANT'
80 project-pattern: 'apex'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/{branch}'
98 name: 'apex-verify-{stream}'
100 node: '{verify-slave}'
106 gs-pathname: '{gs-pathname}'
113 default: https://gerrit.opnfv.org/gerrit/$PROJECT
114 description: "Used for overriding the GIT URL coming from parameters macro."
121 server-name: 'gerrit.opnfv.org'
123 - patchset-created-event:
124 exclude-drafts: 'false'
125 exclude-trivial-rebase: 'false'
126 exclude-no-code-change: 'true'
127 - draft-published-event
128 - comment-added-contains-event:
129 comment-contains-value: 'recheck'
130 - comment-added-contains-event:
131 comment-contains-value: 'reverify'
133 - project-compare-type: 'ANT'
134 project-pattern: 'apex'
136 - branch-compare-type: 'ANT'
137 branch-pattern: '**/{branch}'
150 use-build-blocker: true
167 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
168 predefined-parameters: |
169 BUILD_DIRECTORY=apex-verify-{stream}
175 - project: 'functest-apex-{verify-slave}-suite-{stream}'
176 predefined-parameters: |
177 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
178 FUNCTEST_SUITE_NAME=healthcheck
182 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream}'
183 predefined-parameters: |
184 BUILD_DIRECTORY=apex-verify-{stream}
190 - project: 'functest-apex-{verify-slave}-suite-{stream}'
191 predefined-parameters: |
192 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
193 FUNCTEST_SUITE_NAME=healthcheck
196 - 'apex-workspace-cleanup'
199 name: 'apex-runner-{platform}-{scenario}-{stream}'
201 # runner jobs for deploying manually
209 gs-pathname: '{gs-pathname}'
216 default: https://gerrit.opnfv.org/gerrit/$PROJECT
217 description: "Used for overriding the GIT URL coming from parameters macro."
224 use-build-blocker: true
231 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
232 predefined-parameters:
237 - project: 'yardstick-apex-{slave}-daily-{stream}'
238 predefined-parameters:
239 DEPLOY_SCENARIO={scenario}
242 build-step-failure-threshold: 'never'
243 failure-threshold: 'never'
244 unstable-threshold: 'FAILURE'
246 - project: 'functest-apex-{slave}-daily-{stream}'
247 predefined-parameters:
248 DEPLOY_SCENARIO={scenario}
251 build-step-failure-threshold: 'never'
252 failure-threshold: 'never'
253 unstable-threshold: 'FAILURE'
256 name: 'apex-runner-cperf-{stream}'
266 gs-pathname: '{gs-pathname}'
273 default: https://gerrit.opnfv.org/gerrit/$PROJECT
274 description: "Used for overriding the GIT URL coming from parameters macro."
281 use-build-blocker: false
292 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
293 predefined-parameters:
299 - project: 'cperf-apex-intel-pod2-daily-{stream}'
300 predefined-parameters:
301 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
306 name: 'apex-build-{stream}'
308 # Job template for builds
310 # Required Variables:
311 # stream: branch with - in place of / (eg. stable)
312 # branch: branch (eg. stable)
313 node: '{daily-slave}'
323 gs-pathname: '{gs-pathname}'
328 default: https://gerrit.opnfv.org/gerrit/$PROJECT
329 description: "Used for overriding the GIT URL coming from parameters macro."
336 use-build-blocker: true
348 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
349 predefined-parameters: |
350 BUILD_DIRECTORY=apex-build-{stream}/.build
355 - 'apex-upload-artifact'
358 name: 'apex-deploy-virtual-{scenario}-{stream}'
360 # Job template for virtual deployment
362 # Required Variables:
363 # stream: branch with - in place of / (eg. stable)
364 # branch: branch (eg. stable)
378 gs-pathname: '{gs-pathname}'
380 name: DEPLOY_SCENARIO
381 default: '{scenario}'
382 description: "Scenario to deploy with."
386 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
390 use-build-blocker: true
401 - 'apex-workspace-cleanup'
404 name: 'apex-deploy-baremetal-{scenario}-{stream}'
406 # Job template for baremetal deployment
408 # Required Variables:
409 # stream: branch with - in place of / (eg. stable)
410 # branch: branch (eg. stable)
422 gs-pathname: '{gs-pathname}'
424 name: DEPLOY_SCENARIO
425 default: '{scenario}'
426 description: "Scenario to deploy with."
430 use-build-blocker: true
440 - 'apex-workspace-cleanup'
444 name: 'apex-daily-{stream}'
446 # Job template for daily build
448 # Required Variables:
449 # stream: branch with - in place of / (eg. stable)
450 # branch: branch (eg. stable)
451 node: '{daily-slave}'
462 gs-pathname: '{gs-pathname}'
466 use-build-blocker: true
479 - project: 'apex-build-{stream}'
481 current-parameters: true
485 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
486 predefined-parameters: |
487 BUILD_DIRECTORY=apex-build-{stream}/.build
492 build-step-failure-threshold: 'never'
495 - project: 'functest-apex-{daily-slave}-daily-{stream}'
496 predefined-parameters:
497 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
501 build-step-failure-threshold: 'never'
502 failure-threshold: 'never'
503 unstable-threshold: 'FAILURE'
505 - project: 'yardstick-apex-{slave}-daily-{stream}'
506 predefined-parameters:
507 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
511 build-step-failure-threshold: 'never'
512 failure-threshold: 'never'
513 unstable-threshold: 'FAILURE'
515 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
516 predefined-parameters: |
517 BUILD_DIRECTORY=apex-build-{stream}/.build
522 build-step-failure-threshold: 'never'
525 - project: 'functest-apex-{daily-slave}-daily-{stream}'
526 predefined-parameters:
527 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
531 build-step-failure-threshold: 'never'
532 failure-threshold: 'never'
533 unstable-threshold: 'FAILURE'
535 - project: 'yardstick-apex-{slave}-daily-{stream}'
536 predefined-parameters:
537 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
541 build-step-failure-threshold: 'never'
542 failure-threshold: 'never'
543 unstable-threshold: 'FAILURE'
546 name: 'apex-gs-clean-{stream}'
548 # Job template for clean
550 # Required Variables:
551 # stream: branch with - in place of / (eg. stable)
560 gs-pathname: '{gs-pathname}'
566 - 'apex-gs-clean-{stream}'
569 ########################
571 ########################
578 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
580 name: ARTIFACT_VERSION
582 description: "Artifact version type"
584 name: BUILD_DIRECTORY
585 default: $WORKSPACE/build
586 description: "Directory where the build artifact will be located upon the completion of the build."
588 name: CACHE_DIRECTORY
589 default: $HOME/opnfv/cache{gs-pathname}
590 description: "Directory where the cache to be used during the build is located."
593 default: https://gerrit.opnfv.org/gerrit/$PROJECT
594 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
597 default: '{gs-pathname}'
598 description: "Version directory where opnfv artifacts are stored in gs repository"
601 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
602 description: "URL to Google Storage."
604 ########################
606 ########################
608 name: 'apex-unit-test'
611 !include-raw: ./apex-unit-test.sh
617 !include-raw: ./apex-build.sh
620 name: 'apex-workspace-cleanup'
623 !include-raw: ./apex-workspace-cleanup.sh
626 name: 'apex-upload-artifact'
629 !include-raw: ./apex-upload-artifact.sh
632 name: 'apex-gs-cleanup'
635 !include-raw: ./apex-gs-cleanup.sh
641 !include-raw: ./apex-deploy.sh
644 #######################
646 ########################
652 name: 'apex-gs-clean-{stream}'