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