Merge "Create Stable Branch Jobs for calipso"
[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: true
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-nosdn-nofeature-noha':
154           <<: *master
155       - 'os-nosdn-nofeature-ha':
156           <<: *master
157       - 'os-odl-nofeature-ha':
158           <<: *master
159       - 'os-odl-nofeature-noha':
160           <<: *master
161       - 'os-odl-bgpvpn-ha':
162           <<: *master
163       - 'os-odl-bgpvpn-noha':
164           <<: *master
165       - 'os-odl-sriov-noha':
166           <<: *master
167       - 'os-odl-ovs_offload-noha':
168           <<: *master
169       - 'os-ovn-nofeature-noha':
170           <<: *master
171       - 'os-nosdn-fdio-noha':
172           <<: *master
173       - 'os-nosdn-fdio-ha':
174           <<: *master
175       - 'os-nosdn-bar-ha':
176           <<: *master
177       - 'os-nosdn-bar-noha':
178           <<: *master
179       - 'os-nosdn-ovs_dpdk-noha':
180           <<: *master
181       - 'os-nosdn-ovs_dpdk-ha':
182           <<: *master
183       - 'os-odl-ovs_dpdk-noha':
184           <<: *master
185       - 'os-odl-ovs_dpdk-ha':
186           <<: *master
187       - 'os-odl-sfc-noha':
188           <<: *master
189       - 'os-odl-sfc-ha':
190           <<: *master
191       - 'os-nosdn-calipso-noha':
192           <<: *master
193       - 'os-nosdn-nofeature-noha':
194           <<: *euphrates
195       - 'os-nosdn-nofeature-ha':
196           <<: *euphrates
197       - 'os-odl-nofeature-ha':
198           <<: *euphrates
199       - 'os-odl-nofeature-noha':
200           <<: *euphrates
201       - 'os-odl-bgpvpn-ha':
202           <<: *euphrates
203       - 'os-ovn-nofeature-noha':
204           <<: *euphrates
205       - 'os-nosdn-fdio-noha':
206           <<: *euphrates
207       - 'os-nosdn-fdio-ha':
208           <<: *euphrates
209       - 'os-nosdn-bar-ha':
210           <<: *euphrates
211       - 'os-nosdn-bar-noha':
212           <<: *euphrates
213       - 'os-nosdn-nofeature-ha-ipv6':
214           <<: *euphrates
215       - 'os-nosdn-ovs_dpdk-noha':
216           <<: *euphrates
217       - 'os-nosdn-ovs_dpdk-ha':
218           <<: *euphrates
219       - 'os-nosdn-kvm_ovs_dpdk-noha':
220           <<: *euphrates
221       - 'os-nosdn-kvm_ovs_dpdk-ha':
222           <<: *euphrates
223       - 'os-odl-sfc-noha':
224           <<: *euphrates
225       - 'os-odl-sfc-ha':
226           <<: *euphrates
227       - 'os-nosdn-calipso-noha':
228           <<: *euphrates
229
230     platform:
231       - 'baremetal'
232       - 'virtual'
233
234     os_version:
235       - 'pike'
236       - 'queens'
237       - 'master'
238
239
240 # Fetch Logs Job
241 - job-template:
242     name: 'apex-fetch-logs-{stream}'
243
244     concurrent: true
245
246     disabled: false
247     scm:
248       - git-scm-gerrit
249     parameters:
250       - project-parameter:
251           project: '{project}'
252           branch: '{branch}'
253       - apex-parameter:
254           gs-pathname: '{gs-pathname}'
255     # yamllint enable rule:line-length
256     properties:
257       - logrotate-default
258       - throttle:
259           max-per-node: 1
260           max-total: 10
261           option: 'project'
262
263     builders:
264       - 'apex-fetch-logs'
265
266 - job-template:
267     name: 'apex-runner-cperf-{stream}'
268
269     # runner cperf job
270     project-type: 'multijob'
271     node: 'intel-pod2'
272
273     disabled: false
274
275     parameters:
276       - apex-parameter:
277           gs-pathname: '{gs-pathname}'
278       - project-parameter:
279           project: '{project}'
280           branch: '{branch}'
281       - string:
282           name: GIT_BASE
283           default: https://gerrit.opnfv.org/gerrit/$PROJECT
284           description: "Used for overriding the GIT URL coming from parameters macro."
285
286     scm:
287       - git-scm
288
289     properties:
290       - logrotate-default
291       - build-blocker:
292           use-build-blocker: false
293           block-level: 'NODE'
294           blocking-jobs:
295             - 'apex-deploy.*'
296       - throttle:
297           max-per-node: 1
298           max-total: 10
299           option: 'project'
300
301     builders:
302       - description-setter:
303           description: "Deployed on $NODE_NAME"
304       - multijob:
305           name: 'Baremetal Deploy'
306           condition: ALWAYS
307           projects:
308             - name: 'apex-deploy-baremetal-{stream}'
309               node-parameters: false
310               current-parameters: true
311               predefined-parameters: |
312                 GERRIT_BRANCH=$GERRIT_BRANCH
313                 GERRIT_REFSPEC=
314                 OPNFV_CLEAN=yes
315                 DEPLOY_SCENARIO={verify-scenario}
316               kill-phase-on: FAILURE
317               abort-all-job: true
318               git-revision: false
319       - multijob:
320           name: CPERF
321           condition: SUCCESSFUL
322           projects:
323             - name: 'cperf-apex-intel-pod2-daily-master'
324               node-parameters: true
325               current-parameters: false
326               predefined-parameters:
327                 DEPLOY_SCENARIO={verify-scenario}
328               kill-phase-on: NEVER
329               abort-all-job: false
330               git-revision: false
331
332 # Deploy job
333 - job-template:
334     name: 'apex-deploy-{platform}-{stream}'
335
336     concurrent: true
337
338     disabled: false
339     quiet-period: 30
340     scm:
341       - git-scm-gerrit
342
343     wrappers:
344       - timeout:
345           timeout: 140
346           fail: true
347
348     parameters:
349       - '{project}-{platform}-{stream}-defaults'
350       - project-parameter:
351           project: '{project}'
352           branch: '{branch}'
353       - apex-parameter:
354           gs-pathname: '{gs-pathname}'
355       - string:
356           name: DEPLOY_SCENARIO
357           default: '{verify-scenario}'
358           description: "Scenario to deploy with."
359       # yamllint disable rule:line-length
360       - string:
361           name: OPNFV_CLEAN
362           default: 'no'
363           description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
364
365     # yamllint enable rule:line-length
366     properties:
367       - logrotate-default
368       - build-blocker:
369           use-build-blocker: true
370           block-level: 'NODE'
371           blocking-jobs:
372             - 'apex-deploy.*'
373             - 'functest.*'
374             - 'yardstick.*'
375             - 'dovetail.*'
376             - 'storperf.*'
377       - throttle:
378           max-per-node: 1
379           max-total: 10
380           option: 'project'
381
382     builders:
383       - description-setter:
384           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
385       - 'apex-download-artifact'
386       - 'apex-deploy'
387       - 'clean-workspace'
388
389
390 # Virtual Deploy and Test
391 - job-template:
392     name: 'apex-virtual-{stream}'
393
394     project-type: 'multijob'
395
396     concurrent: true
397
398     disabled: false
399
400     scm:
401       - git-scm-gerrit
402
403     parameters:
404       - '{project}-defaults'
405       - '{project}-virtual-{stream}-defaults'
406       - project-parameter:
407           project: '{project}'
408           branch: '{branch}'
409       - apex-parameter:
410           gs-pathname: '{gs-pathname}'
411       - string:
412           name: DEPLOY_SCENARIO
413           default: '{verify-scenario}'
414           description: "Scenario to deploy with."
415       - string:
416           name: ARTIFACT_VERSION
417           default: dev
418           description: "Used for overriding the ARTIFACT_VERSION"
419
420     properties:
421       - logrotate-default
422       - build-blocker:
423           use-build-blocker: true
424           block-level: 'NODE'
425           blocking-jobs:
426             - 'apex-runner.*'
427             - 'apex-.*-promote.*'
428             - 'apex-run.*'
429             - 'apex-virtual-.*'
430             - 'apex-verify-gate-.*'
431       - throttle:
432           max-per-node: 1
433           max-total: 10
434           option: 'project'
435
436     builders:
437       - description-setter:
438           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
439       - multijob:
440           name: deploy-virtual
441           condition: SUCCESSFUL
442           projects:
443             - name: 'apex-deploy-virtual-{stream}'
444               current-parameters: false
445               predefined-parameters: |
446                 ARTIFACT_VERSION=$ARTIFACT_VERSION
447                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
448                 OPNFV_CLEAN=yes
449                 GERRIT_BRANCH=$GERRIT_BRANCH
450                 GERRIT_REFSPEC=$GERRIT_REFSPEC
451                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
452                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
453               node-parameters: true
454               kill-phase-on: FAILURE
455               abort-all-job: true
456               git-revision: true
457       - multijob:
458           name: functest-smoke
459           condition: ALWAYS
460           projects:
461             - name: 'functest-apex-virtual-suite-{stream}'
462               current-parameters: false
463               predefined-parameters: |
464                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
465                 FUNCTEST_SUITE_NAME=healthcheck
466                 GERRIT_BRANCH=$GERRIT_BRANCH
467                 GERRIT_REFSPEC=$GERRIT_REFSPEC
468                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
469                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
470               node-parameters: true
471               kill-phase-on: NEVER
472               abort-all-job: true
473               git-revision: false
474       - multijob:
475           name: apex-fetch-logs
476           projects:
477             - name: 'apex-fetch-logs-{stream}'
478               current-parameters: false
479               predefined-parameters: |
480                 GERRIT_BRANCH=$GERRIT_BRANCH
481                 GERRIT_REFSPEC=$GERRIT_REFSPEC
482                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
483                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
484               node-parameters: true
485               kill-phase-on: NEVER
486               abort-all-job: true
487               git-revision: false
488
489 # Baremetal Deploy and Test
490 - job-template:
491     name: 'apex-{scenario}-baremetal-{scenario_stream}'
492
493     project-type: 'multijob'
494
495     disabled: false
496
497     scm:
498       - git-scm
499
500     parameters:
501       - '{project}-defaults'
502       - '{project}-baremetal-{scenario_stream}-defaults'
503       - project-parameter:
504           project: '{project}'
505           branch: '{branch}'
506       - apex-parameter:
507           gs-pathname: '{gs-pathname}'
508       - string:
509           name: DEPLOY_SCENARIO
510           default: '{scenario}'
511           description: "Scenario to deploy with."
512
513     properties:
514       - logrotate-default
515       - build-blocker:
516           use-build-blocker: true
517           block-level: 'NODE'
518           blocking-jobs:
519             - 'apex-verify.*'
520             - 'apex-runner.*'
521             - 'apex-.*-promote.*'
522             - 'apex-run.*'
523             - 'apex-.+-baremetal-.+'
524       - throttle:
525           max-per-node: 1
526           max-total: 10
527           option: 'project'
528
529     builders:
530       - description-setter:
531           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
532       - multijob:
533           name: 'Baremetal Deploy'
534           condition: SUCCESSFUL
535           projects:
536             - name: 'apex-deploy-baremetal-{scenario_stream}'
537               node-parameters: true
538               current-parameters: true
539               predefined-parameters: |
540                 OPNFV_CLEAN=yes
541                 GERRIT_BRANCH=$GERRIT_BRANCH
542                 GERRIT_REFSPEC=
543                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
544               kill-phase-on: FAILURE
545               abort-all-job: true
546               git-revision: false
547       - multijob:
548           name: 'OPNFV Test Suite'
549           condition: ALWAYS
550           projects:
551             - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
552               node-parameters: true
553               current-parameters: false
554               predefined-parameters:
555                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
556               kill-phase-on: NEVER
557               abort-all-job: true
558               git-revision: false
559       - multijob:
560           name: apex-fetch-logs
561           projects:
562             - name: 'apex-fetch-logs'
563               current-parameters: true
564               predefined-parameters: |
565                 GERRIT_BRANCH=$GERRIT_BRANCH
566                 GERRIT_REFSPEC=
567               node-parameters: true
568               kill-phase-on: NEVER
569               abort-all-job: true
570               git-revision: false
571     publishers:
572       - groovy-postbuild:
573           script:
574             !include-raw-escape: ./update-build-result.groovy
575
576 # Baremetal test job
577 - job-template:
578     name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
579
580     project-type: 'multijob'
581
582     disabled: false
583
584     parameters:
585       - '{project}-defaults'
586       - '{project}-baremetal-{scenario_stream}-defaults'
587       - project-parameter:
588           project: '{project}'
589           branch: '{branch}'
590       - apex-parameter:
591           gs-pathname: '{gs-pathname}'
592       - string:
593           name: DEPLOY_SCENARIO
594           default: '{scenario}'
595           description: "Scenario to deploy with."
596
597     properties:
598       - logrotate-default
599       - build-blocker:
600           use-build-blocker: true
601           block-level: 'NODE'
602           blocking-jobs:
603             - 'apex-verify.*'
604             - 'apex-runner.*'
605             - 'apex-.*-promote.*'
606             - 'apex-run.*'
607             - 'apex-testsuite-.+-baremetal-.+'
608       - throttle:
609           max-per-node: 1
610           max-total: 10
611           option: 'project'
612
613     builders:
614       - description-setter:
615           description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
616       - multijob:
617           name: Functest
618           condition: ALWAYS
619           projects:
620             - name: 'functest-apex-baremetal-daily-{scenario_stream}'
621               node-parameters: true
622               current-parameters: false
623               predefined-parameters:
624                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
625               kill-phase-on: NEVER
626               abort-all-job: false
627               git-revision: false
628       - multijob:
629           name: Yardstick
630           condition: ALWAYS
631           projects:
632             - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
633               node-parameters: true
634               current-parameters: false
635               predefined-parameters:
636                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
637               kill-phase-on: NEVER
638               abort-all-job: false
639               git-revision: false
640       - multijob:
641           name: Dovetail-proposed_tests
642           condition: ALWAYS
643           projects:
644             - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
645               node-parameters: true
646               current-parameters: false
647               predefined-parameters:
648                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
649               kill-phase-on: NEVER
650               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/
651                                  && $BUILD_NUMBER % 2 == 1"
652               abort-all-job: false
653               git-revision: false
654       - multijob:
655           name: Dovetail-default
656           condition: ALWAYS
657           projects:
658             - name: 'dovetail-apex-baremetal-default-{scenario_stream}'
659               node-parameters: true
660               current-parameters: false
661               predefined-parameters:
662                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
663               kill-phase-on: NEVER
664               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/
665                                  && $BUILD_NUMBER % 2 == 0"
666               abort-all-job: false
667               git-revision: false
668       - multijob:
669           name: StorPerf
670           condition: ALWAYS
671           projects:
672             - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
673               node-parameters: true
674               current-parameters: false
675               predefined-parameters:
676                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
677               enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
678               kill-phase-on: NEVER
679               abort-all-job: false
680               git-revision: false
681 # Build status is always success due conditional plugin prefetching
682 # build status before multijob phases execute
683 #        - conditional-step:
684 #            condition-kind: current-status
685 #            condition-worst: SUCCESS
686 #            condtion-best: SUCCESS
687 #            on-evaluation-failure: mark-unstable
688 #            steps:
689 #                - shell: 'echo "Tests Passed"'
690
691 - job-template:
692     name: 'apex-daily-{stream}'
693
694     # Job template for daily build
695     #
696     # Required Variables:
697     #     stream:    branch with - in place of / (eg. stable)
698     #     branch:    branch (eg. stable)
699     project-type: 'multijob'
700
701     disabled: '{obj:disable_daily}'
702
703     scm:
704       - git-scm
705
706     parameters:
707       - '{project}-defaults'
708       - '{project}-baremetal-{stream}-defaults'
709       - project-parameter:
710           project: '{project}'
711           branch: '{branch}'
712       - apex-parameter:
713           gs-pathname: '{gs-pathname}'
714
715     properties:
716       - logrotate-default
717       - build-blocker:
718           use-build-blocker: true
719           block-level: 'NODE'
720           blocking-jobs:
721             - 'apex-daily.*'
722
723     triggers:
724       - 'apex-{stream}'
725
726     builders:
727       - multijob:
728           name: build
729           condition: SUCCESSFUL
730           projects:
731             - name: 'apex-build-{stream}'
732               current-parameters: false
733               predefined-parameters: |
734                 GERRIT_BRANCH=$GERRIT_BRANCH
735                 GERRIT_REFSPEC=
736                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
737                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
738               node-parameters: true
739               kill-phase-on: FAILURE
740               abort-all-job: true
741               git-revision: true
742       - multijob:
743           name: 'Verify and upload ISO'
744           condition: SUCCESSFUL
745           projects:
746             - name: 'apex-verify-iso-{stream}'
747               current-parameters: false
748               predefined-parameters: |
749                 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
750                 GERRIT_BRANCH=$GERRIT_BRANCH
751                 GERRIT_REFSPEC=
752                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
753                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
754               node-parameters: true
755               kill-phase-on: FAILURE
756               abort-all-job: true
757               git-revision: true
758       - apex-builder-{stream}
759
760 # snapshot create
761 - job-template:
762     name: 'apex-create-snapshot'
763
764     # Job template for clean
765     #
766     # Required Variables:
767     #     stream:    branch with - in place of / (eg. stable)
768
769     disabled: false
770
771     builders:
772       - shell:
773           !include-raw-escape: ./apex-snapshot-create.sh
774
775 # snapshot upload
776 - job-template:
777     name: 'apex-upload-snapshot'
778
779     # Job template for clean
780     #
781     # Required Variables:
782     #     stream:    branch with - in place of / (eg. stable)
783
784     disabled: false
785
786     builders:
787       - inject:
788           properties-content: ARTIFACT_TYPE=snapshot
789       - 'apex-upload-artifact'
790
791 # CSIT promote
792 - job-template:
793     name: 'apex-csit-promote-daily-{stream}'
794
795     # Job template for promoting CSIT Snapshots
796     #
797     # Required Variables:
798     #     stream:    branch with - in place of / (eg. stable)
799     #     branch:    branch (eg. stable)
800     node: '{virtual-slave}'
801     project-type: 'multijob'
802     disabled: '{disable_promote}'
803
804     scm:
805       - git-scm
806
807     parameters:
808       - project-parameter:
809           project: '{project}'
810           branch: '{branch}'
811       - apex-parameter:
812           gs-pathname: '{gs-pathname}'
813
814     properties:
815       - build-blocker:
816           use-build-blocker: true
817           block-level: 'NODE'
818           blocking-jobs:
819             - 'apex-verify.*'
820             - 'apex-deploy.*'
821             - 'apex-runner.*'
822             - 'apex-daily.*'
823
824     triggers:
825       - timed: '0 12 * * 0'
826
827     builders:
828       - multijob:
829           name: deploy-virtual
830           condition: SUCCESSFUL
831           projects:
832             - name: 'apex-deploy-virtual-{stream}'
833               current-parameters: false
834               predefined-parameters: |
835                 DEPLOY_SCENARIO=os-odl-{os_version}_upstream-noha
836                 OPNFV_CLEAN=yes
837                 GERRIT_BRANCH=$GERRIT_BRANCH
838                 GERRIT_REFSPEC=$GERRIT_REFSPEC
839                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
840                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
841                 PROMOTE=True
842               node-parameters: true
843               kill-phase-on: FAILURE
844               abort-all-job: true
845               git-revision: false
846       - multijob:
847           name: functest-smoke
848           condition: SUCCESSFUL
849           projects:
850             - name: 'functest-apex-virtual-suite-{stream}'
851               current-parameters: false
852               predefined-parameters: |
853                 DEPLOY_SCENARIO=os-odl-{os_version}_upstream-noha
854                 FUNCTEST_SUITE_NAME=tempest_smoke_serial
855                 GERRIT_BRANCH=$GERRIT_BRANCH
856                 GERRIT_REFSPEC=$GERRIT_REFSPEC
857                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
858                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
859               node-parameters: true
860               kill-phase-on: FAILURE
861               abort-all-job: true
862               git-revision: false
863       - multijob:
864           name: create snapshot
865           condition: SUCCESSFUL
866           projects:
867             - name: 'apex-create-snapshot'
868               current-parameters: false
869               predefined-parameters: |
870                 SNAP_TYPE=csit
871               node-parameters: true
872               kill-phase-on: FAILURE
873               abort-all-job: true
874               git-revision: false
875       - multijob:
876           name: upload snapshot
877           condition: SUCCESSFUL
878           projects:
879             - name: 'apex-upload-snapshot'
880               current-parameters: false
881               predefined-parameters: |
882                 SNAP_TYPE=csit
883               node-parameters: true
884               kill-phase-on: FAILURE
885               abort-all-job: true
886               git-revision: false
887
888 # FDIO promote
889 - job-template:
890     name: 'apex-fdio-promote-daily-{stream}'
891
892     # Job template for promoting CSIT Snapshots
893     #
894     # Required Variables:
895     #     stream:    branch with - in place of / (eg. stable)
896     #     branch:    branch (eg. stable)
897     node: '{virtual-slave}'
898     project-type: 'multijob'
899     disabled: false
900
901     scm:
902       - git-scm
903
904     parameters:
905       - project-parameter:
906           project: '{project}'
907           branch: '{branch}'
908       - apex-parameter:
909           gs-pathname: '{gs-pathname}'
910
911     properties:
912       - build-blocker:
913           use-build-blocker: true
914           block-level: 'NODE'
915           blocking-jobs:
916             - 'apex-verify.*'
917             - 'apex-deploy.*'
918             - 'apex-runner.*'
919             - 'apex-daily.*'
920
921     builders:
922       - multijob:
923           name: build
924           condition: SUCCESSFUL
925           projects:
926             - name: 'apex-build-{stream}'
927               current-parameters: false
928               predefined-parameters: |
929                 GERRIT_BRANCH=$GERRIT_BRANCH
930                 GERRIT_REFSPEC=$GERRIT_REFSPEC
931                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
932                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
933               node-parameters: false
934               kill-phase-on: FAILURE
935               abort-all-job: true
936               git-revision: true
937       - multijob:
938           name: deploy-virtual
939           condition: SUCCESSFUL
940           projects:
941             - name: 'apex-deploy-virtual-{stream}'
942               current-parameters: false
943               predefined-parameters: |
944                 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
945                 OPNFV_CLEAN=yes
946                 GERRIT_BRANCH=$GERRIT_BRANCH
947                 GERRIT_REFSPEC=$GERRIT_REFSPEC
948                 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
949                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
950                 PROMOTE=True
951               node-parameters: true
952               kill-phase-on: FAILURE
953               abort-all-job: true
954               git-revision: false
955       - multijob:
956           name: create snapshot
957           condition: SUCCESSFUL
958           projects:
959             - name: 'apex-create-snapshot'
960               current-parameters: false
961               predefined-parameters: |
962                 SNAP_TYPE=fdio
963               node-parameters: true
964               kill-phase-on: FAILURE
965               abort-all-job: true
966               git-revision: false
967       - multijob:
968           name: upload snapshot
969           condition: SUCCESSFUL
970           projects:
971             - name: 'apex-upload-snapshot'
972               current-parameters: false
973               predefined-parameters: |
974                 SNAP_TYPE=fdio
975               node-parameters: true
976               kill-phase-on: FAILURE
977               abort-all-job: true
978               git-revision: false
979
980 # Flex job
981 - job-template:
982     name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
983
984     project-type: 'multijob'
985
986     disabled: false
987
988     node: 'flex-pod2'
989
990     scm:
991       - git-scm
992
993     triggers:
994       - 'apex-{stream}'
995
996     parameters:
997       - '{project}-defaults'
998       - project-parameter:
999           project: '{project}'
1000           branch: '{branch}'
1001       - apex-parameter:
1002           gs-pathname: '{gs-pathname}'
1003       - string:
1004           name: DEPLOY_SCENARIO
1005           default: 'os-nosdn-nofeature-ha'
1006           description: "Scenario to deploy with."
1007       - string:
1008           name: GIT_BASE
1009           default: https://gerrit.opnfv.org/gerrit/$PROJECT
1010           description: 'Git URL to use on this Jenkins Slave'
1011       - string:
1012           name: SSH_KEY
1013           default: /root/.ssh/id_rsa
1014           description: 'SSH key to use for Apex'
1015
1016     properties:
1017       - logrotate-default
1018       - build-blocker:
1019           use-build-blocker: true
1020           block-level: 'NODE'
1021           blocking-jobs:
1022             - 'apex-verify.*'
1023             - 'apex-runner.*'
1024             - 'apex-.*-promote.*'
1025             - 'apex-run.*'
1026             - 'apex-.+-baremetal-.+'
1027       - throttle:
1028           max-per-node: 1
1029           max-total: 10
1030           option: 'project'
1031
1032     builders:
1033       - description-setter:
1034           description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1035       - multijob:
1036           name: 'Baremetal Deploy'
1037           condition: SUCCESSFUL
1038           projects:
1039             - name: 'apex-deploy-baremetal-{stream}'
1040               node-parameters: true
1041               current-parameters: true
1042               predefined-parameters: |
1043                 OPNFV_CLEAN=yes
1044                 GERRIT_BRANCH=$GERRIT_BRANCH
1045                 GERRIT_REFSPEC=
1046                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1047               kill-phase-on: FAILURE
1048               abort-all-job: true
1049               git-revision: false
1050       - multijob:
1051           name: Yardstick
1052           condition: ALWAYS
1053           projects:
1054             - name: 'yardstick-apex-baremetal-daily-{stream}'
1055               node-parameters: true
1056               current-parameters: false
1057               predefined-parameters:
1058                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1059               kill-phase-on: NEVER
1060               abort-all-job: false
1061               git-revision: false
1062
1063 # Dovetail Danube test job
1064 - job-template:
1065     name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1066
1067     project-type: 'multijob'
1068
1069     node: 'huawei-pod4'
1070
1071     disabled: false
1072
1073     parameters:
1074       - '{project}-defaults'
1075       - project-parameter:
1076           project: '{project}'
1077           branch: 'stable/danube'
1078       - apex-parameter:
1079           gs-pathname: '/danube'
1080       - string:
1081           name: DEPLOY_SCENARIO
1082           default: 'os-nosdn-nofeature-ha'
1083           description: "Scenario to deploy with."
1084
1085     properties:
1086       - logrotate-default
1087       - build-blocker:
1088           use-build-blocker: true
1089           block-level: 'NODE'
1090           blocking-jobs:
1091             - 'apex-verify.*'
1092             - 'apex-runner.*'
1093             - 'apex-.*-promote.*'
1094             - 'apex-run.*'
1095
1096     triggers:
1097       - timed: ''  # '0 1 * * *'
1098
1099     builders:
1100       - description-setter:
1101           description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1102       - multijob:
1103           name: 'Baremetal Deploy'
1104           condition: SUCCESSFUL
1105           projects:
1106             - name: 'apex-deploy-baremetal-danube'
1107               node-parameters: true
1108               current-parameters: true
1109               predefined-parameters: |
1110                 OPNFV_CLEAN=yes
1111                 GERRIT_BRANCH=$GERRIT_BRANCH
1112                 GERRIT_REFSPEC=
1113                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1114               kill-phase-on: FAILURE
1115               abort-all-job: true
1116               git-revision: false
1117       - multijob:
1118           name: Dovetail
1119           condition: ALWAYS
1120           projects:
1121             - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1122               node-parameters: true
1123               current-parameters: false
1124               predefined-parameters:
1125                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1126               kill-phase-on: NEVER
1127               abort-all-job: false
1128               git-revision: false
1129
1130 ########################
1131 # parameter macros
1132 ########################
1133 - parameter:
1134     name: apex-parameter
1135     parameters:
1136       - string:
1137           name: ARTIFACT_NAME
1138           default: 'latest'
1139           description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1140       - string:
1141           name: ARTIFACT_VERSION
1142           default: 'daily'
1143           description: "Artifact version type"
1144       - string:
1145           name: BUILD_DIRECTORY
1146           default: $WORKSPACE/.build
1147           description: "Directory where the build artifact will be located upon the completion of the build."
1148       - string:
1149           name: CACHE_DIRECTORY
1150           default: $HOME/opnfv/apex-cache{gs-pathname}
1151           description: "Directory where the cache to be used during the build is located."
1152       # yamllint disable rule:line-length
1153       - string:
1154           name: GIT_BASE
1155           default: https://gerrit.opnfv.org/gerrit/$PROJECT
1156           description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1157       # yamllint enable rule:line-length
1158       - string:
1159           name: GS_PATHNAME
1160           default: '{gs-pathname}'
1161           description: "Version directory where opnfv artifacts are stored in gs repository"
1162       - string:
1163           name: GS_URL
1164           default: $GS_BASE{gs-pathname}
1165           description: "URL to Google Storage."
1166       - string:
1167           name: PROMOTE
1168           default: 'False'
1169           description: "Flag to know if we should promote/upload snapshot artifacts."
1170
1171 ########################
1172 # builder macros
1173 ########################
1174
1175 # fraser Builder
1176 - builder:
1177     name: apex-builder-fraser
1178     builders:
1179       - multijob:
1180           name: Baremetal Deploy and Test Phase
1181           condition: SUCCESSFUL
1182           projects:
1183             - name: 'apex-os-nosdn-nofeature-noha-baremetal-fraser'
1184               node-parameters: false
1185               current-parameters: false
1186               predefined-parameters: |
1187                 OPNFV_CLEAN=yes
1188               kill-phase-on: NEVER
1189               abort-all-job: true
1190               git-revision: false
1191             - name: 'apex-os-nosdn-nofeature-ha-baremetal-fraser'
1192               node-parameters: false
1193               current-parameters: false
1194               predefined-parameters: |
1195                 OPNFV_CLEAN=yes
1196               kill-phase-on: NEVER
1197               abort-all-job: true
1198               git-revision: false
1199             - name: 'apex-os-odl-nofeature-ha-baremetal-fraser'
1200               node-parameters: false
1201               current-parameters: false
1202               predefined-parameters: |
1203                 OPNFV_CLEAN=yes
1204               kill-phase-on: NEVER
1205               abort-all-job: true
1206               git-revision: false
1207             - name: 'apex-os-odl-nofeature-noha-baremetal-fraser'
1208               node-parameters: false
1209               current-parameters: false
1210               predefined-parameters: |
1211                 OPNFV_CLEAN=yes
1212               kill-phase-on: NEVER
1213               abort-all-job: true
1214               git-revision: false
1215             - name: 'apex-os-odl-bgpvpn-ha-baremetal-fraser'
1216               node-parameters: false
1217               current-parameters: false
1218               predefined-parameters: |
1219                 OPNFV_CLEAN=yes
1220               kill-phase-on: NEVER
1221               abort-all-job: true
1222               git-revision: false
1223             - name: 'apex-os-ovn-nofeature-noha-baremetal-fraser'
1224               node-parameters: false
1225               current-parameters: false
1226               predefined-parameters: |
1227                 OPNFV_CLEAN=yes
1228               kill-phase-on: NEVER
1229               abort-all-job: true
1230               git-revision: false
1231             - name: 'apex-os-nosdn-fdio-noha-baremetal-fraser'
1232               node-parameters: false
1233               current-parameters: false
1234               predefined-parameters: |
1235                 OPNFV_CLEAN=yes
1236               kill-phase-on: NEVER
1237               abort-all-job: true
1238               git-revision: false
1239             - name: 'apex-os-nosdn-fdio-ha-baremetal-fraser'
1240               node-parameters: false
1241               current-parameters: false
1242               predefined-parameters: |
1243                 OPNFV_CLEAN=yes
1244               kill-phase-on: NEVER
1245               abort-all-job: true
1246               git-revision: false
1247             - name: 'apex-os-nosdn-bar-ha-baremetal-fraser'
1248               node-parameters: false
1249               current-parameters: false
1250               predefined-parameters: |
1251                 OPNFV_CLEAN=yes
1252               kill-phase-on: NEVER
1253               abort-all-job: true
1254               git-revision: false
1255             - name: 'apex-os-nosdn-bar-noha-baremetal-fraser'
1256               node-parameters: false
1257               current-parameters: false
1258               predefined-parameters: |
1259                 OPNFV_CLEAN=yes
1260               kill-phase-on: NEVER
1261               abort-all-job: true
1262               git-revision: false
1263             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-fraser'
1264               node-parameters: false
1265               current-parameters: false
1266               predefined-parameters: |
1267                 OPNFV_CLEAN=yes
1268               kill-phase-on: NEVER
1269               abort-all-job: true
1270               git-revision: false
1271             - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-fraser'
1272               node-parameters: false
1273               current-parameters: false
1274               predefined-parameters: |
1275                 OPNFV_CLEAN=yes
1276               kill-phase-on: NEVER
1277               abort-all-job: true
1278               git-revision: false
1279             - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-fraser'
1280               node-parameters: false
1281               current-parameters: false
1282               predefined-parameters: |
1283                 OPNFV_CLEAN=yes
1284               kill-phase-on: NEVER
1285               abort-all-job: true
1286               git-revision: false
1287             - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-fraser'
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-kvm_ovs_dpdk-ha-baremetal-fraser'
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-odl-sfc-noha-baremetal-fraser'
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-odl-sfc-ha-baremetal-fraser'
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-calipso-noha-baremetal-fraser'
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
1328 # danube Builder
1329 - builder:
1330     name: apex-builder-danube
1331     builders:
1332       - multijob:
1333           name: Baremetal Deploy and Test Phase
1334           condition: SUCCESSFUL
1335           projects:
1336             - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
1337               node-parameters: false
1338               current-parameters: false
1339               predefined-parameters: |
1340                 OPNFV_CLEAN=yes
1341               kill-phase-on: NEVER
1342               abort-all-job: true
1343               git-revision: false
1344             - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
1345               node-parameters: false
1346               current-parameters: false
1347               predefined-parameters: |
1348                 OPNFV_CLEAN=yes
1349               kill-phase-on: NEVER
1350               abort-all-job: true
1351               git-revision: false
1352             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
1353               node-parameters: false
1354               current-parameters: false
1355               predefined-parameters: |
1356                 OPNFV_CLEAN=yes
1357               kill-phase-on: NEVER
1358               abort-all-job: true
1359               git-revision: false
1360             - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
1361               node-parameters: false
1362               current-parameters: false
1363               predefined-parameters: |
1364                 OPNFV_CLEAN=yes
1365               kill-phase-on: NEVER
1366               abort-all-job: true
1367               git-revision: false
1368             - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
1369               node-parameters: false
1370               current-parameters: false
1371               predefined-parameters: |
1372                 OPNFV_CLEAN=yes
1373               kill-phase-on: NEVER
1374               abort-all-job: true
1375               git-revision: false
1376             - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
1377               node-parameters: false
1378               current-parameters: false
1379               predefined-parameters: |
1380                 OPNFV_CLEAN=yes
1381               kill-phase-on: NEVER
1382               abort-all-job: true
1383               git-revision: false
1384             - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
1385               node-parameters: false
1386               current-parameters: false
1387               predefined-parameters: |
1388                 OPNFV_CLEAN=yes
1389               kill-phase-on: NEVER
1390               abort-all-job: true
1391               git-revision: false
1392             - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
1393               node-parameters: false
1394               current-parameters: false
1395               predefined-parameters: |
1396                 OPNFV_CLEAN=yes
1397               kill-phase-on: NEVER
1398               abort-all-job: true
1399               git-revision: false
1400             - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
1401               node-parameters: false
1402               current-parameters: false
1403               predefined-parameters: |
1404                 OPNFV_CLEAN=yes
1405               kill-phase-on: NEVER
1406               abort-all-job: true
1407               git-revision: false
1408             - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
1409               node-parameters: false
1410               current-parameters: false
1411               predefined-parameters: |
1412                 OPNFV_CLEAN=yes
1413               kill-phase-on: NEVER
1414               abort-all-job: true
1415               git-revision: false
1416             - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
1417               node-parameters: false
1418               current-parameters: false
1419               predefined-parameters: |
1420                 OPNFV_CLEAN=yes
1421               kill-phase-on: NEVER
1422               abort-all-job: true
1423               git-revision: false
1424             - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
1425               node-parameters: false
1426               current-parameters: false
1427               predefined-parameters: |
1428                 OPNFV_CLEAN=yes
1429               kill-phase-on: NEVER
1430               abort-all-job: true
1431               git-revision: false
1432             - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
1433               node-parameters: false
1434               current-parameters: false
1435               predefined-parameters: |
1436                 OPNFV_CLEAN=yes
1437               kill-phase-on: NEVER
1438               abort-all-job: true
1439               git-revision: false
1440             - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
1441               node-parameters: false
1442               current-parameters: false
1443               predefined-parameters: |
1444                 OPNFV_CLEAN=yes
1445               kill-phase-on: NEVER
1446               abort-all-job: true
1447               git-revision: false
1448             - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
1449               node-parameters: false
1450               current-parameters: false
1451               predefined-parameters: |
1452                 OPNFV_CLEAN=yes
1453               kill-phase-on: NEVER
1454               abort-all-job: true
1455               git-revision: false
1456             - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
1457               node-parameters: false
1458               current-parameters: false
1459               predefined-parameters: |
1460                 OPNFV_CLEAN=yes
1461               kill-phase-on: NEVER
1462               abort-all-job: true
1463               git-revision: false
1464             - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1465               node-parameters: false
1466               current-parameters: false
1467               predefined-parameters: |
1468                 OPNFV_CLEAN=yes
1469               kill-phase-on: NEVER
1470               abort-all-job: true
1471               git-revision: false
1472             - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1473               node-parameters: false
1474               current-parameters: false
1475               predefined-parameters: |
1476                 OPNFV_CLEAN=yes
1477               kill-phase-on: NEVER
1478               abort-all-job: true
1479               git-revision: false
1480             - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1481               node-parameters: false
1482               current-parameters: false
1483               predefined-parameters: |
1484                 OPNFV_CLEAN=yes
1485               kill-phase-on: NEVER
1486               abort-all-job: true
1487               git-revision: false
1488             - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1489               node-parameters: false
1490               current-parameters: false
1491               predefined-parameters: |
1492                 OPNFV_CLEAN=yes
1493               kill-phase-on: NEVER
1494               abort-all-job: true
1495               git-revision: false
1496             - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1497               node-parameters: false
1498               current-parameters: false
1499               predefined-parameters: |
1500                 OPNFV_CLEAN=yes
1501               kill-phase-on: NEVER
1502               abort-all-job: true
1503               git-revision: false
1504             - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
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_l3-fdio_dvr-ha-baremetal-danube'
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_l3-csit-noha-baremetal-danube'
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-onos-nofeature-ha-baremetal-danube'
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             - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1537               node-parameters: false
1538               current-parameters: false
1539               predefined-parameters: |
1540                 OPNFV_CLEAN=yes
1541               kill-phase-on: NEVER
1542               abort-all-job: true
1543               git-revision: false
1544
1545 # master Builder
1546 - builder:
1547     name: apex-builder-master
1548     builders:
1549       - multijob:
1550           name: Baremetal Deploy and Test Phase
1551           condition: SUCCESSFUL
1552           projects:
1553             - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
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-nosdn-nofeature-ha-baremetal-master'
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-ha-baremetal-master'
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-nofeature-noha-baremetal-master'
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-odl-bgpvpn-ha-baremetal-master'
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-odl-bgpvpn-noha-baremetal-master'
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-odl-sriov-noha-baremetal-master'
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-odl-ovs_offload-noha-baremetal-master'
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-ovn-nofeature-noha-baremetal-master'
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-fdio-noha-baremetal-master'
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-fdio-ha-baremetal-master'
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-bar-ha-baremetal-master'
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-bar-noha-baremetal-master'
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-ovs_dpdk-noha-baremetal-master'
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-nosdn-ovs_dpdk-ha-baremetal-master'
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-ovs_dpdk-noha-baremetal-master'
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-odl-ovs_dpdk-ha-baremetal-master'
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             - name: 'apex-os-odl-sfc-noha-baremetal-master'
1690               node-parameters: false
1691               current-parameters: false
1692               predefined-parameters: |
1693                 OPNFV_CLEAN=yes
1694               kill-phase-on: NEVER
1695               abort-all-job: true
1696               git-revision: false
1697             - name: 'apex-os-odl-sfc-ha-baremetal-master'
1698               node-parameters: false
1699               current-parameters: false
1700               predefined-parameters: |
1701                 OPNFV_CLEAN=yes
1702               kill-phase-on: NEVER
1703               abort-all-job: true
1704               git-revision: false
1705             - name: 'apex-os-nosdn-calipso-noha-baremetal-master'
1706               node-parameters: false
1707               current-parameters: false
1708               predefined-parameters: |
1709                 OPNFV_CLEAN=yes
1710               kill-phase-on: NEVER
1711               abort-all-job: true
1712               git-revision: false
1713
1714 # euphrates Builder
1715 - builder:
1716     name: apex-builder-euphrates
1717     builders:
1718       - multijob:
1719           name: Baremetal Deploy and Test Phase
1720           condition: SUCCESSFUL
1721           projects:
1722             - name: 'apex-os-nosdn-nofeature-noha-baremetal-euphrates'
1723               node-parameters: false
1724               current-parameters: false
1725               predefined-parameters: |
1726                 OPNFV_CLEAN=yes
1727               kill-phase-on: NEVER
1728               abort-all-job: true
1729               git-revision: false
1730             - name: 'apex-os-nosdn-nofeature-ha-baremetal-euphrates'
1731               node-parameters: false
1732               current-parameters: false
1733               predefined-parameters: |
1734                 OPNFV_CLEAN=yes
1735               kill-phase-on: NEVER
1736               abort-all-job: true
1737               git-revision: false
1738             - name: 'apex-os-odl-nofeature-ha-baremetal-euphrates'
1739               node-parameters: false
1740               current-parameters: false
1741               predefined-parameters: |
1742                 OPNFV_CLEAN=yes
1743               kill-phase-on: NEVER
1744               abort-all-job: true
1745               git-revision: false
1746             - name: 'apex-os-odl-nofeature-noha-baremetal-euphrates'
1747               node-parameters: false
1748               current-parameters: false
1749               predefined-parameters: |
1750                 OPNFV_CLEAN=yes
1751               kill-phase-on: NEVER
1752               abort-all-job: true
1753               git-revision: false
1754             - name: 'apex-os-odl-bgpvpn-ha-baremetal-euphrates'
1755               node-parameters: false
1756               current-parameters: false
1757               predefined-parameters: |
1758                 OPNFV_CLEAN=yes
1759               kill-phase-on: NEVER
1760               abort-all-job: true
1761               git-revision: false
1762             - name: 'apex-os-ovn-nofeature-noha-baremetal-euphrates'
1763               node-parameters: false
1764               current-parameters: false
1765               predefined-parameters: |
1766                 OPNFV_CLEAN=yes
1767               kill-phase-on: NEVER
1768               abort-all-job: true
1769               git-revision: false
1770             - name: 'apex-os-nosdn-fdio-noha-baremetal-euphrates'
1771               node-parameters: false
1772               current-parameters: false
1773               predefined-parameters: |
1774                 OPNFV_CLEAN=yes
1775               kill-phase-on: NEVER
1776               abort-all-job: true
1777               git-revision: false
1778             - name: 'apex-os-nosdn-fdio-ha-baremetal-euphrates'
1779               node-parameters: false
1780               current-parameters: false
1781               predefined-parameters: |
1782                 OPNFV_CLEAN=yes
1783               kill-phase-on: NEVER
1784               abort-all-job: true
1785               git-revision: false
1786             - name: 'apex-os-nosdn-bar-ha-baremetal-euphrates'
1787               node-parameters: false
1788               current-parameters: false
1789               predefined-parameters: |
1790                 OPNFV_CLEAN=yes
1791               kill-phase-on: NEVER
1792               abort-all-job: true
1793               git-revision: false
1794             - name: 'apex-os-nosdn-bar-noha-baremetal-euphrates'
1795               node-parameters: false
1796               current-parameters: false
1797               predefined-parameters: |
1798                 OPNFV_CLEAN=yes
1799               kill-phase-on: NEVER
1800               abort-all-job: true
1801               git-revision: false
1802             - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-euphrates'
1803               node-parameters: false
1804               current-parameters: false
1805               predefined-parameters: |
1806                 OPNFV_CLEAN=yes
1807               kill-phase-on: NEVER
1808               abort-all-job: true
1809               git-revision: false
1810             - name: 'apex-os-nosdn-ovs_dpdk-noha-baremetal-euphrates'
1811               node-parameters: false
1812               current-parameters: false
1813               predefined-parameters: |
1814                 OPNFV_CLEAN=yes
1815               kill-phase-on: NEVER
1816               abort-all-job: true
1817               git-revision: false
1818             - name: 'apex-os-nosdn-ovs_dpdk-ha-baremetal-euphrates'
1819               node-parameters: false
1820               current-parameters: false
1821               predefined-parameters: |
1822                 OPNFV_CLEAN=yes
1823               kill-phase-on: NEVER
1824               abort-all-job: true
1825               git-revision: false
1826             - name: 'apex-os-nosdn-kvm_ovs_dpdk-noha-baremetal-euphrates'
1827               node-parameters: false
1828               current-parameters: false
1829               predefined-parameters: |
1830                 OPNFV_CLEAN=yes
1831               kill-phase-on: NEVER
1832               abort-all-job: true
1833               git-revision: false
1834             - name: 'apex-os-nosdn-kvm_ovs_dpdk-ha-baremetal-euphrates'
1835               node-parameters: false
1836               current-parameters: false
1837               predefined-parameters: |
1838                 OPNFV_CLEAN=yes
1839               kill-phase-on: NEVER
1840               abort-all-job: true
1841               git-revision: false
1842             - name: 'apex-os-odl-sfc-noha-baremetal-euphrates'
1843               node-parameters: false
1844               current-parameters: false
1845               predefined-parameters: |
1846                 OPNFV_CLEAN=yes
1847               kill-phase-on: NEVER
1848               abort-all-job: true
1849               git-revision: false
1850             - name: 'apex-os-odl-sfc-ha-baremetal-euphrates'
1851               node-parameters: false
1852               current-parameters: false
1853               predefined-parameters: |
1854                 OPNFV_CLEAN=yes
1855               kill-phase-on: NEVER
1856               abort-all-job: true
1857               git-revision: false
1858             - name: 'apex-os-nosdn-calipso-noha-baremetal-euphrates'
1859               node-parameters: false
1860               current-parameters: false
1861               predefined-parameters: |
1862                 OPNFV_CLEAN=yes
1863               kill-phase-on: NEVER
1864               abort-all-job: true
1865               git-revision: false
1866 - builder:
1867     name: 'apex-upload-artifact'
1868     builders:
1869       - shell:
1870           !include-raw: ./apex-upload-artifact.sh
1871
1872 - builder:
1873     name: 'apex-download-artifact'
1874     builders:
1875       - shell:
1876           !include-raw: ./apex-download-artifact.sh
1877
1878 - builder:
1879     name: 'apex-deploy'
1880     builders:
1881       - shell:
1882           !include-raw: ./apex-deploy.sh
1883
1884 - builder:
1885     name: 'apex-fetch-logs'
1886     builders:
1887       - shell:
1888           !include-raw: ./apex-fetch-logs.sh
1889
1890 #######################
1891 # trigger macros
1892 ########################
1893 - trigger:
1894     name: 'apex-master'
1895     triggers:
1896       - timed: '0 0 1-31/2 * *'
1897
1898 - trigger:
1899     name: 'apex-fraser'
1900     triggers:
1901       - timed: '0 0 2-30/2 * *'
1902
1903 - trigger:
1904     name: 'apex-euphrates'
1905     triggers:
1906       - timed: '0 0 2-30/2 * *'
1907
1908 - trigger:
1909     name: 'apex-danube'
1910     triggers:
1911       - timed: '0 3 1 1 7'