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