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