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