Merge "Stop maintaining Euphrates (EOL)"
[releng.git] / jjb / apex / apex.yml
1 ---
2 - project:
3     name: 'apex'
4     project: 'apex'
5     jobs:
6       - 'apex-fetch-logs-{stream}'
7       - 'apex-runner-cperf-{stream}'
8       - 'apex-virtual-{stream}'
9       - 'apex-deploy-{platform}-{stream}'
10       - 'apex-daily-{stream}'
11       - 'apex-csit-promote-daily-{stream}'
12       - 'apex-fdio-promote-daily-{stream}'
13       - 'apex-{scenario}-baremetal-{scenario_stream}'
14       - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
15       - 'apex-upload-snapshot'
16       - 'apex-create-snapshot'
17       - 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
18       - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
19     # stream:    branch with - in place of / (eg. stable-arno)
20     # branch:    branch (eg. stable/arno)
21     stream:
22       - master: &master
23           branch: 'master'
24           gs-pathname: ''
25           build-slave: 'apex-build-master'
26           virtual-slave: 'apex-virtual-master'
27           baremetal-slave: 'apex-baremetal-master'
28           verify-scenario: 'os-odl-nofeature-ha'
29           scenario_stream: 'master'
30           disable_daily: false
31           disable_promote: false
32       - fraser: &fraser
33           branch: 'stable/fraser'
34           gs-pathname: '/fraser'
35           build-slave: 'apex-build-master'
36           virtual-slave: 'apex-virtual-master'
37           baremetal-slave: 'apex-baremetal-master'
38           verify-scenario: 'os-odl-nofeature-ha'
39           scenario_stream: 'fraser'
40           disable_daily: false
41           disable_promote: true
42       - euphrates: &euphrates
43           branch: 'stable/euphrates'
44           gs-pathname: '/euphrates'
45           build-slave: 'apex-build-master'
46           virtual-slave: 'apex-virtual-master'
47           baremetal-slave: 'apex-baremetal-master'
48           verify-scenario: 'os-odl-nofeature-ha'
49           scenario_stream: 'euphrates'
50           disable_daily: true
51           disable_promote: true
52       - danube: &danube
53           branch: 'stable/danube'
54           gs-pathname: '/danube'
55           build-slave: 'apex-build-danube'
56           virtual-slave: 'apex-virtual-danube'
57           baremetal-slave: 'apex-baremetal-danube'
58           verify-scenario: 'os-odl_l3-nofeature-ha'
59           scenario_stream: 'danube'
60           disabled: true
61           disable_daily: true
62           disable_promote: true
63
64     scenario:
65       - 'os-nosdn-nofeature-noha':
66           <<: *fraser
67       - 'os-nosdn-nofeature-ha':
68           <<: *fraser
69       - 'os-odl-nofeature-ha':
70           <<: *fraser
71       - 'os-odl-nofeature-noha':
72           <<: *fraser
73       - 'os-odl-bgpvpn-ha':
74           <<: *fraser
75       - 'os-ovn-nofeature-noha':
76           <<: *fraser
77       - 'os-nosdn-fdio-noha':
78           <<: *fraser
79       - 'os-nosdn-fdio-ha':
80           <<: *fraser
81       - 'os-nosdn-bar-ha':
82           <<: *fraser
83       - 'os-nosdn-bar-noha':
84           <<: *fraser
85       - 'os-nosdn-nofeature-ha-ipv6':
86           <<: *fraser
87       - 'os-nosdn-ovs_dpdk-noha':
88           <<: *fraser
89       - 'os-nosdn-ovs_dpdk-ha':
90           <<: *fraser
91       - 'os-nosdn-kvm_ovs_dpdk-noha':
92           <<: *fraser
93       - 'os-nosdn-kvm_ovs_dpdk-ha':
94           <<: *fraser
95       - 'os-odl-sfc-noha':
96           <<: *fraser
97       - 'os-odl-sfc-ha':
98           <<: *fraser
99       - 'os-nosdn-calipso-noha':
100           <<: *fraser
101       - 'os-nosdn-nofeature-noha':
102           <<: *danube
103       - 'os-nosdn-nofeature-ha':
104           <<: *danube
105       - 'os-nosdn-nofeature-ha-ipv6':
106           <<: *danube
107       - 'os-nosdn-ovs-noha':
108           <<: *danube
109       - 'os-nosdn-ovs-ha':
110           <<: *danube
111       - 'os-nosdn-fdio-noha':
112           <<: *danube
113       - 'os-nosdn-fdio-ha':
114           <<: *danube
115       - 'os-nosdn-kvm-ha':
116           <<: *danube
117       - 'os-nosdn-kvm-noha':
118           <<: *danube
119       - 'os-odl_l2-fdio-noha':
120           <<: *danube
121       - 'os-odl_l2-fdio-ha':
122           <<: *danube
123       - 'os-odl_netvirt-fdio-noha':
124           <<: *danube
125       - 'os-odl_l2-sfc-noha':
126           <<: *danube
127       - 'os-odl_l3-nofeature-noha':
128           <<: *danube
129       - 'os-odl_l3-nofeature-ha':
130           <<: *danube
131       - 'os-odl_l3-ovs-noha':
132           <<: *danube
133       - 'os-odl_l3-ovs-ha':
134           <<: *danube
135       - 'os-odl-bgpvpn-ha':
136           <<: *danube
137       - 'os-odl-gluon-noha':
138           <<: *danube
139       - 'os-odl_l3-fdio-noha':
140           <<: *danube
141       - 'os-odl_l3-fdio-ha':
142           <<: *danube
143       - 'os-odl_l3-fdio_dvr-noha':
144           <<: *danube
145       - 'os-odl_l3-fdio_dvr-ha':
146           <<: *danube
147       - 'os-odl_l3-csit-noha':
148           <<: *danube
149       - 'os-onos-nofeature-ha':
150           <<: *danube
151       - 'os-ovn-nofeature-noha':
152           <<: *danube
153       - 'os-odl-master_upstream-noha':
154           <<: *master
155       - 'os-odl-queens_upstream-noha':
156           <<: *master
157       - 'os-nosdn-nofeature-noha':
158           <<: *euphrates
159       - 'os-nosdn-nofeature-ha':
160           <<: *euphrates
161       - 'os-odl-nofeature-ha':
162           <<: *euphrates
163       - 'os-odl-nofeature-noha':
164           <<: *euphrates
165       - 'os-odl-bgpvpn-ha':
166           <<: *euphrates
167       - 'os-ovn-nofeature-noha':
168           <<: *euphrates
169       - 'os-nosdn-fdio-noha':
170           <<: *euphrates
171       - 'os-nosdn-fdio-ha':
172           <<: *euphrates
173       - 'os-nosdn-bar-ha':
174           <<: *euphrates
175       - 'os-nosdn-bar-noha':
176           <<: *euphrates
177       - 'os-nosdn-nofeature-ha-ipv6':
178           <<: *euphrates
179       - 'os-nosdn-ovs_dpdk-noha':
180           <<: *euphrates
181       - 'os-nosdn-ovs_dpdk-ha':
182           <<: *euphrates
183       - 'os-nosdn-kvm_ovs_dpdk-noha':
184           <<: *euphrates
185       - 'os-nosdn-kvm_ovs_dpdk-ha':
186           <<: *euphrates
187       - 'os-odl-sfc-noha':
188           <<: *euphrates
189       - 'os-odl-sfc-ha':
190           <<: *euphrates
191       - 'os-nosdn-calipso-noha':
192           <<: *euphrates
193
194     platform:
195       - 'baremetal'
196       - 'virtual'
197
198     os_version:
199       - 'pike'
200       - 'queens'
201       - 'master'
202
203
204 # Fetch Logs Job
205 - job-template:
206     name: 'apex-fetch-logs-{stream}'
207
208     concurrent: true
209
210     disabled: false
211     scm:
212       - git-scm-gerrit
213     parameters:
214       - project-parameter:
215           project: '{project}'
216           branch: '{branch}'
217       - apex-parameter:
218           gs-pathname: '{gs-pathname}'
219     # yamllint enable rule:line-length
220     properties:
221       - logrotate-default
222       - throttle:
223           max-per-node: 1
224           max-total: 10
225           option: 'project'
226
227     builders:
228       - 'apex-fetch-logs'
229
230 - job-template:
231     name: 'apex-runner-cperf-{stream}'
232
233     # runner cperf job
234     project-type: 'multijob'
235     node: 'intel-pod2'
236
237     disabled: false
238
239     parameters:
240       - apex-parameter:
241           gs-pathname: '{gs-pathname}'
242       - project-parameter:
243           project: '{project}'
244           branch: '{branch}'
245       - string:
246           name: GIT_BASE
247           default: https://gerrit.opnfv.org/gerrit/$PROJECT
248           description: "Used for overriding the GIT URL coming from parameters macro."
249
250     scm:
251       - git-scm
252
253     properties:
254       - logrotate-default
255       - build-blocker:
256           use-build-blocker: false
257           block-level: 'NODE'
258           blocking-jobs:
259             - 'apex-deploy.*'
260       - throttle:
261           max-per-node: 1
262           max-total: 10
263           option: 'project'
264
265     builders:
266       - description-setter:
267           description: "Deployed on $NODE_NAME"
268       - multijob:
269           name: 'Baremetal Deploy'
270           condition: ALWAYS
271           projects:
272             - name: 'apex-deploy-baremetal-{stream}'
273               node-parameters: false
274               current-parameters: true
275               predefined-parameters: |
276                 GERRIT_BRANCH=$GERRIT_BRANCH
277                 GERRIT_REFSPEC=
278                 OPNFV_CLEAN=yes
279                 DEPLOY_SCENARIO={verify-scenario}
280               kill-phase-on: FAILURE
281               abort-all-job: true
282               git-revision: false
283       - multijob:
284           name: CPERF
285           condition: SUCCESSFUL
286           projects:
287             - name: 'cperf-apex-intel-pod2-daily-master'
288               node-parameters: true
289               current-parameters: false
290               predefined-parameters:
291                 DEPLOY_SCENARIO={verify-scenario}
292               kill-phase-on: NEVER
293               abort-all-job: false
294               git-revision: false
295
296 # Deploy job
297 - job-template:
298     name: 'apex-deploy-{platform}-{stream}'
299
300     concurrent: true
301
302     disabled: false
303     quiet-period: 30
304     scm:
305       - git-scm-gerrit
306
307     wrappers:
308       - timeout:
309           timeout: 140
310           fail: true
311
312     parameters:
313       - '{project}-{platform}-{stream}-defaults'
314       - project-parameter:
315           project: '{project}'
316           branch: '{branch}'
317       - apex-parameter:
318           gs-pathname: '{gs-pathname}'
319       - string:
320           name: DEPLOY_SCENARIO
321           default: '{verify-scenario}'
322           description: "Scenario to deploy with."
323       # yamllint disable rule:line-length
324       - string:
325           name: OPNFV_CLEAN
326           default: 'no'
327           description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
328
329     # yamllint enable rule:line-length
330     properties:
331       - logrotate-default
332       - build-blocker:
333           use-build-blocker: true
334           block-level: 'NODE'
335           blocking-jobs:
336             - 'apex-deploy.*'
337             - 'functest.*'
338             - 'yardstick.*'
339             - 'dovetail.*'
340             - 'storperf.*'
341       - throttle:
342           max-per-node: 1
343           max-total: 10
344           option: 'project'
345
346     builders:
347       - description-setter:
348           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
349       - 'apex-download-artifact'
350       - 'apex-deploy'
351       - 'clean-workspace'
352
353
354 # Virtual Deploy and Test
355 - job-template:
356     name: 'apex-virtual-{stream}'
357
358     project-type: 'multijob'
359
360     concurrent: true
361
362     disabled: false
363
364     scm:
365       - git-scm-gerrit
366
367     parameters:
368       - '{project}-defaults'
369       - '{project}-virtual-{stream}-defaults'
370       - project-parameter:
371           project: '{project}'
372           branch: '{branch}'
373       - apex-parameter:
374           gs-pathname: '{gs-pathname}'
375       - string:
376           name: DEPLOY_SCENARIO
377           default: '{verify-scenario}'
378           description: "Scenario to deploy with."
379       - string:
380           name: ARTIFACT_VERSION
381           default: dev
382           description: "Used for overriding the ARTIFACT_VERSION"
383
384     properties:
385       - logrotate-default
386       - build-blocker:
387           use-build-blocker: true
388           block-level: 'NODE'
389           blocking-jobs:
390             - 'apex-runner.*'
391             - 'apex-.*-promote.*'
392             - 'apex-run.*'
393             - 'apex-virtual-.*'
394             - 'apex-verify-gate-.*'
395       - throttle:
396           max-per-node: 1
397           max-total: 10
398           option: 'project'
399
400     builders:
401       - description-setter:
402           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
403       - multijob:
404           name: deploy-virtual
405           condition: SUCCESSFUL
406           projects:
407             - name: 'apex-deploy-virtual-{stream}'
408               current-parameters: false
409               predefined-parameters: |
410                 ARTIFACT_VERSION=$ARTIFACT_VERSION
411                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
412                 OPNFV_CLEAN=yes
413                 GERRIT_BRANCH=$GERRIT_BRANCH
414                 GERRIT_REFSPEC=$GERRIT_REFSPEC
415                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
416                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
417               node-parameters: true
418               kill-phase-on: FAILURE
419               abort-all-job: true
420               git-revision: true
421       - multijob:
422           name: functest-smoke
423           condition: ALWAYS
424           projects:
425             - name: 'functest-apex-virtual-suite-{stream}'
426               current-parameters: false
427               predefined-parameters: |
428                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
429                 FUNCTEST_SUITE_NAME=healthcheck
430                 GERRIT_BRANCH=$GERRIT_BRANCH
431                 GERRIT_REFSPEC=$GERRIT_REFSPEC
432                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
433                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
434               node-parameters: true
435               kill-phase-on: NEVER
436               abort-all-job: true
437               git-revision: false
438       - multijob:
439           name: apex-fetch-logs
440           projects:
441             - name: 'apex-fetch-logs-{stream}'
442               current-parameters: false
443               predefined-parameters: |
444                 GERRIT_BRANCH=$GERRIT_BRANCH
445                 GERRIT_REFSPEC=$GERRIT_REFSPEC
446                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
447                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
448               node-parameters: true
449               kill-phase-on: NEVER
450               abort-all-job: true
451               git-revision: false
452
453 # Baremetal Deploy and Test
454 - job-template:
455     name: 'apex-{scenario}-baremetal-{scenario_stream}'
456
457     project-type: 'multijob'
458
459     disabled: false
460
461     scm:
462       - git-scm
463
464     parameters:
465       - '{project}-defaults'
466       - '{project}-baremetal-{scenario_stream}-defaults'
467       - project-parameter:
468           project: '{project}'
469           branch: '{branch}'
470       - apex-parameter:
471           gs-pathname: '{gs-pathname}'
472       - string:
473           name: DEPLOY_SCENARIO
474           default: '{scenario}'
475           description: "Scenario to deploy with."
476
477     properties:
478       - logrotate-default
479       - build-blocker:
480           use-build-blocker: true
481           block-level: 'NODE'
482           blocking-jobs:
483             - 'apex-verify.*'
484             - 'apex-runner.*'
485             - 'apex-.*-promote.*'
486             - 'apex-run.*'
487             - 'apex-.+-baremetal-.+'
488       - throttle:
489           max-per-node: 1
490           max-total: 10
491           option: 'project'
492
493     builders:
494       - description-setter:
495           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
496       - multijob:
497           name: 'Baremetal Deploy'
498           condition: SUCCESSFUL
499           projects:
500             - name: 'apex-deploy-baremetal-{scenario_stream}'
501               node-parameters: true
502               current-parameters: true
503               predefined-parameters: |
504                 OPNFV_CLEAN=yes
505                 GERRIT_BRANCH=$GERRIT_BRANCH
506                 GERRIT_REFSPEC=
507                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
508               kill-phase-on: FAILURE
509               abort-all-job: true
510               git-revision: false
511       - multijob:
512           name: 'OPNFV Test Suite'
513           condition: ALWAYS
514           projects:
515             - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
516               node-parameters: true
517               current-parameters: false
518               predefined-parameters:
519                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
520               kill-phase-on: NEVER
521               abort-all-job: true
522               git-revision: false
523       - multijob:
524           name: apex-fetch-logs
525           projects:
526             - name: 'apex-fetch-logs-{scenario_stream}'
527               current-parameters: true
528               predefined-parameters: |
529                 GERRIT_BRANCH=$GERRIT_BRANCH
530                 GERRIT_REFSPEC=
531               node-parameters: true
532               kill-phase-on: NEVER
533               abort-all-job: true
534               git-revision: false
535     publishers:
536       - groovy-postbuild:
537           script:
538             !include-raw-escape: ./update-build-result.groovy
539
540 # Baremetal test job
541 - job-template:
542     name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
543
544     project-type: 'multijob'
545
546     disabled: false
547
548     parameters:
549       - '{project}-defaults'
550       - '{project}-baremetal-{scenario_stream}-defaults'
551       - project-parameter:
552           project: '{project}'
553           branch: '{branch}'
554       - apex-parameter:
555           gs-pathname: '{gs-pathname}'
556       - string:
557           name: DEPLOY_SCENARIO
558           default: '{scenario}'
559           description: "Scenario to deploy with."
560
561     properties:
562       - logrotate-default
563       - build-blocker:
564           use-build-blocker: true
565           block-level: 'NODE'
566           blocking-jobs:
567             - 'apex-verify.*'
568             - 'apex-runner.*'
569             - 'apex-.*-promote.*'
570             - 'apex-run.*'
571             - 'apex-testsuite-.+-baremetal-.+'
572       - throttle:
573           max-per-node: 1
574           max-total: 10
575           option: 'project'
576
577     builders:
578       - description-setter:
579           description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
580       - multijob:
581           name: Functest
582           condition: ALWAYS
583           projects:
584             - name: 'functest-apex-baremetal-daily-{scenario_stream}'
585               node-parameters: true
586               current-parameters: false
587               predefined-parameters:
588                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
589               kill-phase-on: NEVER
590               abort-all-job: false
591               git-revision: false
592       - multijob:
593           name: Yardstick
594           condition: ALWAYS
595           projects:
596             - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
597               node-parameters: true
598               current-parameters: false
599               predefined-parameters:
600                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
601               kill-phase-on: NEVER
602               abort-all-job: false
603               git-revision: false
604       - multijob:
605           name: Dovetail-proposed_tests
606           condition: ALWAYS
607           projects:
608             - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
609               node-parameters: true
610               current-parameters: false
611               predefined-parameters:
612                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
613               kill-phase-on: NEVER
614               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/
615                                  && $BUILD_NUMBER % 2 == 1"
616               abort-all-job: false
617               git-revision: false
618       - multijob:
619           name: Dovetail-default
620           condition: ALWAYS
621           projects:
622             - name: 'dovetail-apex-baremetal-default-{scenario_stream}'
623               node-parameters: true
624               current-parameters: false
625               predefined-parameters:
626                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
627               kill-phase-on: NEVER
628               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/
629                                  && $BUILD_NUMBER % 2 == 0"
630               abort-all-job: false
631               git-revision: false
632       - multijob:
633           name: StorPerf
634           condition: ALWAYS
635           projects:
636             - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
637               node-parameters: true
638               current-parameters: false
639               predefined-parameters:
640                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
641               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
642               kill-phase-on: NEVER
643               abort-all-job: false
644               git-revision: false
645 # Build status is always success due conditional plugin prefetching
646 # build status before multijob phases execute
647 #        - conditional-step:
648 #            condition-kind: current-status
649 #            condition-worst: SUCCESS
650 #            condtion-best: SUCCESS
651 #            on-evaluation-failure: mark-unstable
652 #            steps:
653 #                - shell: 'echo "Tests Passed"'
654
655 - job-template:
656     name: 'apex-daily-{stream}'
657
658     # Job template for daily build
659     #
660     # Required Variables:
661     #     stream:    branch with - in place of / (eg. stable)
662     #     branch:    branch (eg. stable)
663     project-type: 'multijob'
664
665     disabled: '{obj:disable_daily}'
666
667     scm:
668       - git-scm
669
670     parameters:
671       - '{project}-defaults'
672       - '{project}-baremetal-{stream}-defaults'
673       - project-parameter:
674           project: '{project}'
675           branch: '{branch}'
676       - apex-parameter:
677           gs-pathname: '{gs-pathname}'
678
679     properties:
680       - logrotate-default
681       - build-blocker:
682           use-build-blocker: true
683           block-level: 'NODE'
684           blocking-jobs:
685             - 'apex-daily.*'
686
687     triggers:
688       - 'apex-{stream}'
689
690     builders:
691       - multijob:
692           name: build
693           condition: SUCCESSFUL
694           projects:
695             - name: 'apex-build-{stream}'
696               current-parameters: false
697               predefined-parameters: |
698                 GERRIT_BRANCH=$GERRIT_BRANCH
699                 GERRIT_REFSPEC=
700                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
701                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
702               node-parameters: true
703               kill-phase-on: FAILURE
704               abort-all-job: true
705               git-revision: true
706       - multijob:
707           name: 'Verify and upload ISO'
708           condition: SUCCESSFUL
709           projects:
710             - name: 'apex-verify-iso-{stream}'
711               current-parameters: false
712               predefined-parameters: |
713                 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
714                 GERRIT_BRANCH=$GERRIT_BRANCH
715                 GERRIT_REFSPEC=
716                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
717                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
718               node-parameters: true
719               kill-phase-on: FAILURE
720               abort-all-job: true
721               git-revision: true
722       - apex-builder-{stream}
723
724 # snapshot create
725 - job-template:
726     name: 'apex-create-snapshot'
727
728     # Job template for clean
729     #
730     # Required Variables:
731     #     stream:    branch with - in place of / (eg. stable)
732
733     disabled: false
734
735     builders:
736       - shell:
737           !include-raw-escape: ./apex-snapshot-create.sh
738
739 # snapshot upload
740 - job-template:
741     name: 'apex-upload-snapshot'
742
743     # Job template for clean
744     #
745     # Required Variables:
746     #     stream:    branch with - in place of / (eg. stable)
747
748     disabled: false
749
750     builders:
751       - inject:
752           properties-content: ARTIFACT_TYPE=snapshot
753       - 'apex-upload-artifact'
754
755 # CSIT promote
756 - job-template:
757     name: 'apex-csit-promote-daily-{stream}'
758
759     # Job template for promoting CSIT Snapshots
760     #
761     # Required Variables:
762     #     stream:    branch with - in place of / (eg. stable)
763     #     branch:    branch (eg. stable)
764     node: '{virtual-slave}'
765     project-type: 'multijob'
766     disabled: '{disable_promote}'
767
768     scm:
769       - git-scm
770
771     parameters:
772       - project-parameter:
773           project: '{project}'
774           branch: '{branch}'
775       - apex-parameter:
776           gs-pathname: '{gs-pathname}'
777
778     properties:
779       - build-blocker:
780           use-build-blocker: true
781           block-level: 'NODE'
782           blocking-jobs:
783             - 'apex-verify.*'
784             - 'apex-deploy.*'
785             - 'apex-runner.*'
786             - 'apex-daily.*'
787
788     triggers:
789       - timed: '0 12 * * 0'
790
791     builders:
792       - multijob:
793           name: deploy-virtual
794           condition: SUCCESSFUL
795           projects:
796             - name: 'apex-deploy-virtual-{stream}'
797               current-parameters: false
798               predefined-parameters: |
799                 DEPLOY_SCENARIO=os-odl-{os_version}_upstream-noha
800                 OPNFV_CLEAN=yes
801                 GERRIT_BRANCH=$GERRIT_BRANCH
802                 GERRIT_REFSPEC=$GERRIT_REFSPEC
803                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
804                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
805                 PROMOTE=True
806               node-parameters: true
807               kill-phase-on: FAILURE
808               abort-all-job: true
809               git-revision: false
810       - multijob:
811           name: functest-smoke
812           condition: SUCCESSFUL
813           projects:
814             - name: 'functest-apex-virtual-suite-{stream}'
815               current-parameters: false
816               predefined-parameters: |
817                 DEPLOY_SCENARIO=os-odl-{os_version}_upstream-noha
818                 FUNCTEST_SUITE_NAME=tempest_smoke_serial
819                 GERRIT_BRANCH=$GERRIT_BRANCH
820                 GERRIT_REFSPEC=$GERRIT_REFSPEC
821                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
822                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
823               node-parameters: true
824               kill-phase-on: FAILURE
825               abort-all-job: true
826               git-revision: false
827       - multijob:
828           name: create snapshot
829           condition: SUCCESSFUL
830           projects:
831             - name: 'apex-create-snapshot'
832               current-parameters: false
833               predefined-parameters: |
834                 SNAP_TYPE=csit
835               node-parameters: true
836               kill-phase-on: FAILURE
837               abort-all-job: true
838               git-revision: false
839       - multijob:
840           name: upload snapshot
841           condition: SUCCESSFUL
842           projects:
843             - name: 'apex-upload-snapshot'
844               current-parameters: false
845               predefined-parameters: |
846                 SNAP_TYPE=csit
847               node-parameters: true
848               kill-phase-on: FAILURE
849               abort-all-job: true
850               git-revision: false
851
852 # FDIO promote
853 - job-template:
854     name: 'apex-fdio-promote-daily-{stream}'
855
856     # Job template for promoting CSIT Snapshots
857     #
858     # Required Variables:
859     #     stream:    branch with - in place of / (eg. stable)
860     #     branch:    branch (eg. stable)
861     node: '{virtual-slave}'
862     project-type: 'multijob'
863     disabled: false
864
865     scm:
866       - git-scm
867
868     parameters:
869       - project-parameter:
870           project: '{project}'
871           branch: '{branch}'
872       - apex-parameter:
873           gs-pathname: '{gs-pathname}'
874
875     properties:
876       - build-blocker:
877           use-build-blocker: true
878           block-level: 'NODE'
879           blocking-jobs:
880             - 'apex-verify.*'
881             - 'apex-deploy.*'
882             - 'apex-runner.*'
883             - 'apex-daily.*'
884
885     builders:
886       - multijob:
887           name: build
888           condition: SUCCESSFUL
889           projects:
890             - name: 'apex-build-{stream}'
891               current-parameters: false
892               predefined-parameters: |
893                 GERRIT_BRANCH=$GERRIT_BRANCH
894                 GERRIT_REFSPEC=$GERRIT_REFSPEC
895                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
896                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
897               node-parameters: false
898               kill-phase-on: FAILURE
899               abort-all-job: true
900               git-revision: true
901       - multijob:
902           name: deploy-virtual
903           condition: SUCCESSFUL
904           projects:
905             - name: 'apex-deploy-virtual-{stream}'
906               current-parameters: false
907               predefined-parameters: |
908                 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
909                 OPNFV_CLEAN=yes
910                 GERRIT_BRANCH=$GERRIT_BRANCH
911                 GERRIT_REFSPEC=$GERRIT_REFSPEC
912                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
913                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
914                 PROMOTE=True
915               node-parameters: true
916               kill-phase-on: FAILURE
917               abort-all-job: true
918               git-revision: false
919       - multijob:
920           name: create snapshot
921           condition: SUCCESSFUL
922           projects:
923             - name: 'apex-create-snapshot'
924               current-parameters: false
925               predefined-parameters: |
926                 SNAP_TYPE=fdio
927               node-parameters: true
928               kill-phase-on: FAILURE
929               abort-all-job: true
930               git-revision: false
931       - multijob:
932           name: upload snapshot
933           condition: SUCCESSFUL
934           projects:
935             - name: 'apex-upload-snapshot'
936               current-parameters: false
937               predefined-parameters: |
938                 SNAP_TYPE=fdio
939               node-parameters: true
940               kill-phase-on: FAILURE
941               abort-all-job: true
942               git-revision: false
943
944 # Flex job
945 - job-template:
946     name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
947
948     project-type: 'multijob'
949
950     disabled: false
951
952     node: 'flex-pod2'
953
954     scm:
955       - git-scm
956
957     triggers:
958       - 'apex-{stream}'
959
960     parameters:
961       - '{project}-defaults'
962       - project-parameter:
963           project: '{project}'
964           branch: '{branch}'
965       - apex-parameter:
966           gs-pathname: '{gs-pathname}'
967       - string:
968           name: DEPLOY_SCENARIO
969           default: 'os-nosdn-nofeature-ha'
970           description: "Scenario to deploy with."
971       - string:
972           name: GIT_BASE
973           default: https://gerrit.opnfv.org/gerrit/$PROJECT
974           description: 'Git URL to use on this Jenkins Slave'
975       - string:
976           name: SSH_KEY
977           default: /root/.ssh/id_rsa
978           description: 'SSH key to use for Apex'
979
980     properties:
981       - logrotate-default
982       - build-blocker:
983           use-build-blocker: true
984           block-level: 'NODE'
985           blocking-jobs:
986             - 'apex-verify.*'
987             - 'apex-runner.*'
988             - 'apex-.*-promote.*'
989             - 'apex-run.*'
990             - 'apex-.+-baremetal-.+'
991       - throttle:
992           max-per-node: 1
993           max-total: 10
994           option: 'project'
995
996     builders:
997       - description-setter:
998           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
999       - multijob:
1000           name: 'Baremetal Deploy'
1001           condition: SUCCESSFUL
1002           projects:
1003             - name: 'apex-deploy-baremetal-{stream}'
1004               node-parameters: true
1005               current-parameters: true
1006               predefined-parameters: |
1007                 OPNFV_CLEAN=yes
1008                 GERRIT_BRANCH=$GERRIT_BRANCH
1009                 GERRIT_REFSPEC=
1010                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1011               kill-phase-on: FAILURE
1012               abort-all-job: true
1013               git-revision: false
1014       - multijob:
1015           name: Yardstick
1016           condition: ALWAYS
1017           projects:
1018             - name: 'yardstick-apex-baremetal-daily-{stream}'
1019               node-parameters: true
1020               current-parameters: false
1021               predefined-parameters:
1022                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1023               kill-phase-on: NEVER
1024               abort-all-job: false
1025               git-revision: false
1026
1027 # Dovetail Danube test job
1028 - job-template:
1029     name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1030
1031     project-type: 'multijob'
1032
1033     node: 'huawei-pod4'
1034
1035     disabled: false
1036
1037     parameters:
1038       - '{project}-defaults'
1039       - project-parameter:
1040           project: '{project}'
1041           branch: 'stable/danube'
1042       - apex-parameter:
1043           gs-pathname: '/danube'
1044       - string:
1045           name: DEPLOY_SCENARIO
1046           default: 'os-nosdn-nofeature-ha'
1047           description: "Scenario to deploy with."
1048
1049     properties:
1050       - logrotate-default
1051       - build-blocker:
1052           use-build-blocker: true
1053           block-level: 'NODE'
1054           blocking-jobs:
1055             - 'apex-verify.*'
1056             - 'apex-runner.*'
1057             - 'apex-.*-promote.*'
1058             - 'apex-run.*'
1059
1060     triggers:
1061       - timed: ''  # '0 1 * * *'
1062
1063     builders:
1064       - description-setter:
1065           description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1066       - multijob:
1067           name: 'Baremetal Deploy'
1068           condition: SUCCESSFUL
1069           projects:
1070             - name: 'apex-deploy-baremetal-danube'
1071               node-parameters: true
1072               current-parameters: true
1073               predefined-parameters: |
1074                 OPNFV_CLEAN=yes
1075                 GERRIT_BRANCH=$GERRIT_BRANCH
1076                 GERRIT_REFSPEC=
1077                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1078               kill-phase-on: FAILURE
1079               abort-all-job: true
1080               git-revision: false
1081       - multijob:
1082           name: Dovetail
1083           condition: ALWAYS
1084           projects:
1085             - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1086               node-parameters: true
1087               current-parameters: false
1088               predefined-parameters:
1089                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1090               kill-phase-on: NEVER
1091               abort-all-job: false
1092               git-revision: false
1093
1094 ########################
1095 # parameter macros
1096 ########################
1097 - parameter:
1098     name: apex-parameter
1099     parameters:
1100       - string:
1101           name: ARTIFACT_NAME
1102           default: 'latest'
1103           description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1104       - string:
1105           name: ARTIFACT_VERSION
1106           default: 'daily'
1107           description: "Artifact version type"
1108       - string:
1109           name: BUILD_DIRECTORY
1110           default: $WORKSPACE/.build
1111           description: "Directory where the build artifact will be located upon the completion of the build."
1112       - string:
1113           name: CACHE_DIRECTORY
1114           default: $HOME/opnfv/apex-cache{gs-pathname}
1115           description: "Directory where the cache to be used during the build is located."
1116       # yamllint disable rule:line-length
1117       - string:
1118           name: GIT_BASE
1119           default: https://gerrit.opnfv.org/gerrit/$PROJECT
1120           description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1121       # yamllint enable rule:line-length
1122       - string:
1123           name: GS_PATHNAME
1124           default: '{gs-pathname}'
1125           description: "Version directory where opnfv artifacts are stored in gs repository"
1126       - string:
1127           name: GS_URL
1128           default: $GS_BASE{gs-pathname}
1129           description: "URL to Google Storage."
1130       - string:
1131           name: PROMOTE
1132           default: 'False'
1133           description: "Flag to know if we should promote/upload snapshot artifacts."
1134
1135 ########################
1136 # builder macros
1137 ########################
1138
1139 # fraser Builder
1140 - builder:
1141     name: apex-builder-fraser
1142     builders:
1143       - multijob:
1144           name: Baremetal Deploy and Test Phase
1145           condition: SUCCESSFUL
1146           projects:
1147             - name: 'apex-os-nosdn-nofeature-noha-baremetal-fraser'
1148               node-parameters: false
1149               current-parameters: false
1150               predefined-parameters: |
1151                 OPNFV_CLEAN=yes
1152               kill-phase-on: NEVER
1153               abort-all-job: true
1154               git-revision: false
1155             - name: 'apex-os-nosdn-nofeature-ha-baremetal-fraser'
1156               node-parameters: false
1157               current-parameters: false
1158               predefined-parameters: |
1159                 OPNFV_CLEAN=yes
1160               kill-phase-on: NEVER
1161               abort-all-job: true
1162               git-revision: false
1163             - name: 'apex-os-odl-nofeature-ha-baremetal-fraser'
1164               node-parameters: false
1165               current-parameters: false
1166               predefined-parameters: |
1167                 OPNFV_CLEAN=yes
1168               kill-phase-on: NEVER
1169               abort-all-job: true
1170               git-revision: false
1171             - name: 'apex-os-odl-nofeature-noha-baremetal-fraser'
1172               node-parameters: false
1173               current-parameters: false
1174               predefined-parameters: |
1175                 OPNFV_CLEAN=yes
1176               kill-phase-on: NEVER
1177               abort-all-job: true
1178               git-revision: false
1179             - name: 'apex-os-odl-bgpvpn-ha-baremetal-fraser'
1180               node-parameters: false
1181               current-parameters: false
1182               predefined-parameters: |
1183                 OPNFV_CLEAN=yes
1184               kill-phase-on: NEVER
1185               abort-all-job: true
1186               git-revision: false
1187             - name: 'apex-os-ovn-nofeature-noha-baremetal-fraser'
1188               node-parameters: false
1189               current-parameters: false
1190               predefined-parameters: |
1191                 OPNFV_CLEAN=yes
1192               kill-phase-on: NEVER
1193               abort-all-job: true
1194               git-revision: false
1195             - name: 'apex-os-nosdn-fdio-noha-baremetal-fraser'
1196               node-parameters: false
1197               current-parameters: false
1198               predefined-parameters: |
1199                 OPNFV_CLEAN=yes
1200               kill-phase-on: NEVER
1201               abort-all-job: true
1202               git-revision: false
1203             - name: 'apex-os-nosdn-fdio-ha-baremetal-fraser'
1204               node-parameters: false
1205               current-parameters: false
1206               predefined-parameters: |
1207                 OPNFV_CLEAN=yes
1208               kill-phase-on: NEVER
1209               abort-all-job: true
1210               git-revision: false
1211             - name: 'apex-os-nosdn-bar-ha-baremetal-fraser'
1212               node-parameters: false
1213               current-parameters: false
1214               predefined-parameters: |
1215                 OPNFV_CLEAN=yes
1216               kill-phase-on: NEVER
1217               abort-all-job: true
1218               git-revision: false
1219             - name: 'apex-os-nosdn-bar-noha-baremetal-fraser'
1220               node-parameters: false
1221               current-parameters: false
1222               predefined-parameters: |
1223                 OPNFV_CLEAN=yes
1224               kill-phase-on: NEVER
1225               abort-all-job: true
1226               git-revision: false
1227             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-fraser'
1228               node-parameters: false
1229               current-parameters: false
1230               predefined-parameters: |
1231                 OPNFV_CLEAN=yes
1232               kill-phase-on: NEVER
1233               abort-all-job: true
1234               git-revision: false
1235             - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-fraser'
1236               node-parameters: false
1237               current-parameters: false
1238               predefined-parameters: |
1239                 OPNFV_CLEAN=yes
1240               kill-phase-on: NEVER
1241               abort-all-job: true
1242               git-revision: false
1243             - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-fraser'
1244               node-parameters: false
1245               current-parameters: false
1246               predefined-parameters: |
1247                 OPNFV_CLEAN=yes
1248               kill-phase-on: NEVER
1249               abort-all-job: true
1250               git-revision: false
1251             - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-fraser'
1252               node-parameters: false
1253               current-parameters: false
1254               predefined-parameters: |
1255                 OPNFV_CLEAN=yes
1256               kill-phase-on: NEVER
1257               abort-all-job: true
1258               git-revision: false
1259             - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-fraser'
1260               node-parameters: false
1261               current-parameters: false
1262               predefined-parameters: |
1263                 OPNFV_CLEAN=yes
1264               kill-phase-on: NEVER
1265               abort-all-job: true
1266               git-revision: false
1267             - name: 'apex-os-odl-sfc-noha-baremetal-fraser'
1268               node-parameters: false
1269               current-parameters: false
1270               predefined-parameters: |
1271                 OPNFV_CLEAN=yes
1272               kill-phase-on: NEVER
1273               abort-all-job: true
1274               git-revision: false
1275             - name: 'apex-os-odl-sfc-ha-baremetal-fraser'
1276               node-parameters: false
1277               current-parameters: false
1278               predefined-parameters: |
1279                 OPNFV_CLEAN=yes
1280               kill-phase-on: NEVER
1281               abort-all-job: true
1282               git-revision: false
1283             - name: 'apex-os-nosdn-calipso-noha-baremetal-fraser'
1284               node-parameters: false
1285               current-parameters: false
1286               predefined-parameters: |
1287                 OPNFV_CLEAN=yes
1288               kill-phase-on: NEVER
1289               abort-all-job: true
1290               git-revision: false
1291
1292 # danube Builder
1293 - builder:
1294     name: apex-builder-danube
1295     builders:
1296       - multijob:
1297           name: Baremetal Deploy and Test Phase
1298           condition: SUCCESSFUL
1299           projects:
1300             - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
1301               node-parameters: false
1302               current-parameters: false
1303               predefined-parameters: |
1304                 OPNFV_CLEAN=yes
1305               kill-phase-on: NEVER
1306               abort-all-job: true
1307               git-revision: false
1308             - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
1309               node-parameters: false
1310               current-parameters: false
1311               predefined-parameters: |
1312                 OPNFV_CLEAN=yes
1313               kill-phase-on: NEVER
1314               abort-all-job: true
1315               git-revision: false
1316             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
1317               node-parameters: false
1318               current-parameters: false
1319               predefined-parameters: |
1320                 OPNFV_CLEAN=yes
1321               kill-phase-on: NEVER
1322               abort-all-job: true
1323               git-revision: false
1324             - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
1325               node-parameters: false
1326               current-parameters: false
1327               predefined-parameters: |
1328                 OPNFV_CLEAN=yes
1329               kill-phase-on: NEVER
1330               abort-all-job: true
1331               git-revision: false
1332             - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
1333               node-parameters: false
1334               current-parameters: false
1335               predefined-parameters: |
1336                 OPNFV_CLEAN=yes
1337               kill-phase-on: NEVER
1338               abort-all-job: true
1339               git-revision: false
1340             - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
1341               node-parameters: false
1342               current-parameters: false
1343               predefined-parameters: |
1344                 OPNFV_CLEAN=yes
1345               kill-phase-on: NEVER
1346               abort-all-job: true
1347               git-revision: false
1348             - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
1349               node-parameters: false
1350               current-parameters: false
1351               predefined-parameters: |
1352                 OPNFV_CLEAN=yes
1353               kill-phase-on: NEVER
1354               abort-all-job: true
1355               git-revision: false
1356             - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
1357               node-parameters: false
1358               current-parameters: false
1359               predefined-parameters: |
1360                 OPNFV_CLEAN=yes
1361               kill-phase-on: NEVER
1362               abort-all-job: true
1363               git-revision: false
1364             - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
1365               node-parameters: false
1366               current-parameters: false
1367               predefined-parameters: |
1368                 OPNFV_CLEAN=yes
1369               kill-phase-on: NEVER
1370               abort-all-job: true
1371               git-revision: false
1372             - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
1373               node-parameters: false
1374               current-parameters: false
1375               predefined-parameters: |
1376                 OPNFV_CLEAN=yes
1377               kill-phase-on: NEVER
1378               abort-all-job: true
1379               git-revision: false
1380             - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
1381               node-parameters: false
1382               current-parameters: false
1383               predefined-parameters: |
1384                 OPNFV_CLEAN=yes
1385               kill-phase-on: NEVER
1386               abort-all-job: true
1387               git-revision: false
1388             - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
1389               node-parameters: false
1390               current-parameters: false
1391               predefined-parameters: |
1392                 OPNFV_CLEAN=yes
1393               kill-phase-on: NEVER
1394               abort-all-job: true
1395               git-revision: false
1396             - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
1397               node-parameters: false
1398               current-parameters: false
1399               predefined-parameters: |
1400                 OPNFV_CLEAN=yes
1401               kill-phase-on: NEVER
1402               abort-all-job: true
1403               git-revision: false
1404             - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
1405               node-parameters: false
1406               current-parameters: false
1407               predefined-parameters: |
1408                 OPNFV_CLEAN=yes
1409               kill-phase-on: NEVER
1410               abort-all-job: true
1411               git-revision: false
1412             - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
1413               node-parameters: false
1414               current-parameters: false
1415               predefined-parameters: |
1416                 OPNFV_CLEAN=yes
1417               kill-phase-on: NEVER
1418               abort-all-job: true
1419               git-revision: false
1420             - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
1421               node-parameters: false
1422               current-parameters: false
1423               predefined-parameters: |
1424                 OPNFV_CLEAN=yes
1425               kill-phase-on: NEVER
1426               abort-all-job: true
1427               git-revision: false
1428             - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1429               node-parameters: false
1430               current-parameters: false
1431               predefined-parameters: |
1432                 OPNFV_CLEAN=yes
1433               kill-phase-on: NEVER
1434               abort-all-job: true
1435               git-revision: false
1436             - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1437               node-parameters: false
1438               current-parameters: false
1439               predefined-parameters: |
1440                 OPNFV_CLEAN=yes
1441               kill-phase-on: NEVER
1442               abort-all-job: true
1443               git-revision: false
1444             - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1445               node-parameters: false
1446               current-parameters: false
1447               predefined-parameters: |
1448                 OPNFV_CLEAN=yes
1449               kill-phase-on: NEVER
1450               abort-all-job: true
1451               git-revision: false
1452             - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1453               node-parameters: false
1454               current-parameters: false
1455               predefined-parameters: |
1456                 OPNFV_CLEAN=yes
1457               kill-phase-on: NEVER
1458               abort-all-job: true
1459               git-revision: false
1460             - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1461               node-parameters: false
1462               current-parameters: false
1463               predefined-parameters: |
1464                 OPNFV_CLEAN=yes
1465               kill-phase-on: NEVER
1466               abort-all-job: true
1467               git-revision: false
1468             - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1469               node-parameters: false
1470               current-parameters: false
1471               predefined-parameters: |
1472                 OPNFV_CLEAN=yes
1473               kill-phase-on: NEVER
1474               abort-all-job: true
1475               git-revision: false
1476             - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1477               node-parameters: false
1478               current-parameters: false
1479               predefined-parameters: |
1480                 OPNFV_CLEAN=yes
1481               kill-phase-on: NEVER
1482               abort-all-job: true
1483               git-revision: false
1484             - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1485               node-parameters: false
1486               current-parameters: false
1487               predefined-parameters: |
1488                 OPNFV_CLEAN=yes
1489               kill-phase-on: NEVER
1490               abort-all-job: true
1491               git-revision: false
1492             - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1493               node-parameters: false
1494               current-parameters: false
1495               predefined-parameters: |
1496                 OPNFV_CLEAN=yes
1497               kill-phase-on: NEVER
1498               abort-all-job: true
1499               git-revision: false
1500             - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1501               node-parameters: false
1502               current-parameters: false
1503               predefined-parameters: |
1504                 OPNFV_CLEAN=yes
1505               kill-phase-on: NEVER
1506               abort-all-job: true
1507               git-revision: false
1508
1509 # master Builder
1510 - builder:
1511     name: apex-builder-master
1512     builders:
1513       - multijob:
1514           name: Baremetal Deploy and Test Phase
1515           condition: SUCCESSFUL
1516           projects:
1517             - name: 'apex-os-odl-master_upstream-noha-baremetal-master'
1518               node-parameters: false
1519               current-parameters: false
1520               predefined-parameters: |
1521                 OPNFV_CLEAN=yes
1522               kill-phase-on: NEVER
1523               abort-all-job: true
1524               git-revision: false
1525             - name: 'apex-os-odl-queens_upstream-noha-baremetal-master'
1526               node-parameters: false
1527               current-parameters: false
1528               predefined-parameters: |
1529                 OPNFV_CLEAN=yes
1530               kill-phase-on: NEVER
1531               abort-all-job: true
1532               git-revision: false
1533
1534 # euphrates Builder
1535 - builder:
1536     name: apex-builder-euphrates
1537     builders:
1538       - multijob:
1539           name: Baremetal Deploy and Test Phase
1540           condition: SUCCESSFUL
1541           projects:
1542             - name: 'apex-os-nosdn-nofeature-noha-baremetal-euphrates'
1543               node-parameters: false
1544               current-parameters: false
1545               predefined-parameters: |
1546                 OPNFV_CLEAN=yes
1547               kill-phase-on: NEVER
1548               abort-all-job: true
1549               git-revision: false
1550             - name: 'apex-os-nosdn-nofeature-ha-baremetal-euphrates'
1551               node-parameters: false
1552               current-parameters: false
1553               predefined-parameters: |
1554                 OPNFV_CLEAN=yes
1555               kill-phase-on: NEVER
1556               abort-all-job: true
1557               git-revision: false
1558             - name: 'apex-os-odl-nofeature-ha-baremetal-euphrates'
1559               node-parameters: false
1560               current-parameters: false
1561               predefined-parameters: |
1562                 OPNFV_CLEAN=yes
1563               kill-phase-on: NEVER
1564               abort-all-job: true
1565               git-revision: false
1566             - name: 'apex-os-odl-nofeature-noha-baremetal-euphrates'
1567               node-parameters: false
1568               current-parameters: false
1569               predefined-parameters: |
1570                 OPNFV_CLEAN=yes
1571               kill-phase-on: NEVER
1572               abort-all-job: true
1573               git-revision: false
1574             - name: 'apex-os-odl-bgpvpn-ha-baremetal-euphrates'
1575               node-parameters: false
1576               current-parameters: false
1577               predefined-parameters: |
1578                 OPNFV_CLEAN=yes
1579               kill-phase-on: NEVER
1580               abort-all-job: true
1581               git-revision: false
1582             - name: 'apex-os-ovn-nofeature-noha-baremetal-euphrates'
1583               node-parameters: false
1584               current-parameters: false
1585               predefined-parameters: |
1586                 OPNFV_CLEAN=yes
1587               kill-phase-on: NEVER
1588               abort-all-job: true
1589               git-revision: false
1590             - name: 'apex-os-nosdn-fdio-noha-baremetal-euphrates'
1591               node-parameters: false
1592               current-parameters: false
1593               predefined-parameters: |
1594                 OPNFV_CLEAN=yes
1595               kill-phase-on: NEVER
1596               abort-all-job: true
1597               git-revision: false
1598             - name: 'apex-os-nosdn-fdio-ha-baremetal-euphrates'
1599               node-parameters: false
1600               current-parameters: false
1601               predefined-parameters: |
1602                 OPNFV_CLEAN=yes
1603               kill-phase-on: NEVER
1604               abort-all-job: true
1605               git-revision: false
1606             - name: 'apex-os-nosdn-bar-ha-baremetal-euphrates'
1607               node-parameters: false
1608               current-parameters: false
1609               predefined-parameters: |
1610                 OPNFV_CLEAN=yes
1611               kill-phase-on: NEVER
1612               abort-all-job: true
1613               git-revision: false
1614             - name: 'apex-os-nosdn-bar-noha-baremetal-euphrates'
1615               node-parameters: false
1616               current-parameters: false
1617               predefined-parameters: |
1618                 OPNFV_CLEAN=yes
1619               kill-phase-on: NEVER
1620               abort-all-job: true
1621               git-revision: false
1622             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-euphrates'
1623               node-parameters: false
1624               current-parameters: false
1625               predefined-parameters: |
1626                 OPNFV_CLEAN=yes
1627               kill-phase-on: NEVER
1628               abort-all-job: true
1629               git-revision: false
1630             - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-euphrates'
1631               node-parameters: false
1632               current-parameters: false
1633               predefined-parameters: |
1634                 OPNFV_CLEAN=yes
1635               kill-phase-on: NEVER
1636               abort-all-job: true
1637               git-revision: false
1638             - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-euphrates'
1639               node-parameters: false
1640               current-parameters: false
1641               predefined-parameters: |
1642                 OPNFV_CLEAN=yes
1643               kill-phase-on: NEVER
1644               abort-all-job: true
1645               git-revision: false
1646             - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-euphrates'
1647               node-parameters: false
1648               current-parameters: false
1649               predefined-parameters: |
1650                 OPNFV_CLEAN=yes
1651               kill-phase-on: NEVER
1652               abort-all-job: true
1653               git-revision: false
1654             - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-euphrates'
1655               node-parameters: false
1656               current-parameters: false
1657               predefined-parameters: |
1658                 OPNFV_CLEAN=yes
1659               kill-phase-on: NEVER
1660               abort-all-job: true
1661               git-revision: false
1662             - name: 'apex-os-odl-sfc-noha-baremetal-euphrates'
1663               node-parameters: false
1664               current-parameters: false
1665               predefined-parameters: |
1666                 OPNFV_CLEAN=yes
1667               kill-phase-on: NEVER
1668               abort-all-job: true
1669               git-revision: false
1670             - name: 'apex-os-odl-sfc-ha-baremetal-euphrates'
1671               node-parameters: false
1672               current-parameters: false
1673               predefined-parameters: |
1674                 OPNFV_CLEAN=yes
1675               kill-phase-on: NEVER
1676               abort-all-job: true
1677               git-revision: false
1678             - name: 'apex-os-nosdn-calipso-noha-baremetal-euphrates'
1679               node-parameters: false
1680               current-parameters: false
1681               predefined-parameters: |
1682                 OPNFV_CLEAN=yes
1683               kill-phase-on: NEVER
1684               abort-all-job: true
1685               git-revision: false
1686 - builder:
1687     name: 'apex-upload-artifact'
1688     builders:
1689       - shell:
1690           !include-raw: ./apex-upload-artifact.sh
1691
1692 - builder:
1693     name: 'apex-download-artifact'
1694     builders:
1695       - shell:
1696           !include-raw: ./apex-download-artifact.sh
1697
1698 - builder:
1699     name: 'apex-deploy'
1700     builders:
1701       - shell:
1702           !include-raw: ./apex-deploy.sh
1703
1704 - builder:
1705     name: 'apex-fetch-logs'
1706     builders:
1707       - shell:
1708           !include-raw: ./apex-fetch-logs.sh
1709
1710 #######################
1711 # trigger macros
1712 ########################
1713 - trigger:
1714     name: 'apex-master'
1715     triggers:
1716       - timed: '0 0 1-31/2 * *'
1717
1718 - trigger:
1719     name: 'apex-fraser'
1720     triggers:
1721       - timed: '0 0 2-30/2 * *'
1722
1723 - trigger:
1724     name: 'apex-euphrates'
1725     triggers:
1726       - timed: '0 0 2-30/2 * *'
1727
1728 - trigger:
1729     name: 'apex-danube'
1730     triggers:
1731       - timed: '0 3 1 1 7'