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