keep weekly-trigger-disabled and enable compass-dovetail weekly trigger
[releng.git] / jjb / apex / apex.yml
1 - project:
2     name: apex
3     jobs:
4         - 'apex-verify-{stream}'
5         - 'apex-verify-unit-tests-{stream}'
6         - 'apex-runner-{platform}-{scenario}-{stream}'
7         - 'apex-runner-cperf-{stream}'
8         - 'apex-build-{stream}'
9         - 'apex-deploy-virtual-{scenario}-{stream}'
10         - 'apex-deploy-baremetal-{scenario}-{stream}'
11         - 'apex-daily-{stream}'
12         - 'apex-daily-colorado'
13         - 'apex-build-colorado'
14         - 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
15         - 'apex-csit-promote-daily-{stream}'
16
17     # stream:    branch with - in place of / (eg. stable-arno)
18     # branch:    branch (eg. stable/arno)
19     stream:
20         - master:
21             branch: 'master'
22             gs-pathname: ''
23             slave: 'lf-pod1'
24             verify-slave: 'apex-verify-master'
25             daily-slave: 'apex-daily-master'
26
27     project: 'apex'
28
29     scenario:
30          - 'os-nosdn-nofeature-noha'
31          - 'os-nosdn-nofeature-ha'
32          - 'os-nosdn-nofeature-ha-ipv6'
33          - 'os-nosdn-ovs-noha'
34          - 'os-nosdn-fdio-noha'
35          - 'os-nosdn-fdio-ha'
36          - 'os-odl_l2-fdio-ha'
37          - 'os-odl_l2-netvirt_gbp_fdio-noha'
38          - 'os-odl_l2-sfc-noha'
39          - 'os-odl_l3-nofeature-ha'
40          - 'os-odl-bgpvpn-ha'
41          - 'os-odl-gluon-noha'
42          - 'os-odl_l3-fdio-noha'
43          - 'os-odl_l3-fdio-ha'
44          - 'os-odl_l3-fdio_dvr-noha'
45          - 'os-odl_l3-fdio_dvr-ha'
46          - 'os-odl_l3-csit-noha'
47          - 'os-onos-nofeature-ha'
48
49     platform:
50          - 'baremetal'
51          - 'virtual'
52
53 # Unit Test
54 - job-template:
55     name: 'apex-verify-unit-tests-{stream}'
56
57     node: '{verify-slave}'
58
59     concurrent: true
60
61     parameters:
62         - apex-parameter:
63             gs-pathname: '{gs-pathname}'
64         - project-parameter:
65             project: '{project}'
66             branch: '{branch}'
67         - string:
68             name: GIT_BASE
69             default: https://gerrit.opnfv.org/gerrit/$PROJECT
70             description: "Used for overriding the GIT URL coming from parameters macro."
71
72     scm:
73         - git-scm-gerrit
74
75     triggers:
76         - gerrit:
77             server-name: 'gerrit.opnfv.org'
78             trigger-on:
79                 - patchset-created-event:
80                     exclude-drafts: 'false'
81                     exclude-trivial-rebase: 'false'
82                     exclude-no-code-change: 'true'
83                 - draft-published-event
84                 - comment-added-contains-event:
85                     comment-contains-value: 'recheck'
86                 - comment-added-contains-event:
87                     comment-contains-value: 'reverify'
88             projects:
89               - project-compare-type: 'ANT'
90                 project-pattern: 'apex'
91                 branches:
92                   - branch-compare-type: 'ANT'
93                     branch-pattern: '**/{branch}'
94                 file-paths:
95                   - compare-type: ANT
96                     pattern: 'tests/**'
97     properties:
98         - logrotate-default
99         - throttle:
100             max-per-node: 1
101             max-total: 10
102             option: 'project'
103
104     builders:
105         - 'apex-unit-test'
106
107 # Verify
108 - job-template:
109     name: 'apex-verify-{stream}'
110
111     node: '{verify-slave}'
112
113     concurrent: true
114
115     parameters:
116         - apex-parameter:
117             gs-pathname: '{gs-pathname}'
118         - project-parameter:
119             project: '{project}'
120             branch: '{branch}'
121         - string:
122             name: GIT_BASE
123             default: https://gerrit.opnfv.org/gerrit/$PROJECT
124             description: "Used for overriding the GIT URL coming from parameters macro."
125
126     scm:
127         - git-scm-gerrit
128
129     triggers:
130         - gerrit:
131             server-name: 'gerrit.opnfv.org'
132             trigger-on:
133                 - patchset-created-event:
134                     exclude-drafts: 'false'
135                     exclude-trivial-rebase: 'false'
136                     exclude-no-code-change: 'true'
137                 - draft-published-event
138                 - comment-added-contains-event:
139                     comment-contains-value: 'recheck'
140                 - comment-added-contains-event:
141                     comment-contains-value: 'reverify'
142             projects:
143               - project-compare-type: 'ANT'
144                 project-pattern: 'apex'
145                 branches:
146                   - branch-compare-type: 'ANT'
147                     branch-pattern: '**/{branch}'
148                 file-paths:
149                   - compare-type: ANT
150                     pattern: 'ci/**'
151                   - compare-type: ANT
152                     pattern: 'build/**'
153                   - compare-type: ANT
154                     pattern: 'lib/**'
155                   - compare-type: ANT
156                     pattern: 'config/**'
157
158     properties:
159         - logrotate-default
160         - build-blocker:
161             use-build-blocker: true
162             block-level: 'NODE'
163             blocking-jobs:
164                 - 'apex-daily.*'
165                 - 'apex-deploy.*'
166                 - 'apex-build.*'
167                 - 'apex-runner.*'
168                 - 'apex-verify.*'
169         - throttle:
170             max-per-node: 1
171             max-total: 10
172             option: 'project'
173
174     builders:
175         - 'apex-unit-test'
176         - 'apex-build'
177         - trigger-builds:
178           - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
179             predefined-parameters: |
180               BUILD_DIRECTORY=apex-verify-{stream}
181               OPNFV_CLEAN=yes
182             git-revision: false
183             block: true
184             same-node: true
185         - trigger-builds:
186           - project: 'functest-apex-{verify-slave}-suite-{stream}'
187             predefined-parameters: |
188               DEPLOY_SCENARIO=os-nosdn-nofeature-ha
189               FUNCTEST_SUITE_NAME=healthcheck
190             block: true
191             same-node: true
192         - trigger-builds:
193           - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream}'
194             predefined-parameters: |
195               BUILD_DIRECTORY=apex-verify-{stream}
196               OPNFV_CLEAN=yes
197             git-revision: false
198             block: true
199             same-node: true
200         - trigger-builds:
201           - project: 'functest-apex-{verify-slave}-suite-{stream}'
202             predefined-parameters: |
203               DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
204               FUNCTEST_SUITE_NAME=healthcheck
205             block: true
206             same-node: true
207         - 'apex-workspace-cleanup'
208
209 - job-template:
210     name: 'apex-runner-{platform}-{scenario}-{stream}'
211
212     # runner jobs for deploying manually
213
214     node: '{slave}'
215
216     disabled: false
217
218     parameters:
219         - apex-parameter:
220             gs-pathname: '{gs-pathname}'
221         - project-parameter:
222             project: '{project}'
223             branch: '{branch}'
224         - string:
225             name: GIT_BASE
226             default: https://gerrit.opnfv.org/gerrit/$PROJECT
227             description: "Used for overriding the GIT URL coming from parameters macro."
228
229     scm:
230         - git-scm
231
232     properties:
233         - logrotate-default
234         - build-blocker:
235             use-build-blocker: true
236             blocking-jobs:
237                 - 'apex-daily.*'
238                 - 'apex-verify.*'
239                 - 'apex-csit.*'
240
241     builders:
242         - trigger-builds:
243           - project: 'apex-deploy-{platform}-{scenario}-{stream}'
244             predefined-parameters:
245               OPNFV_CLEAN=yes
246             git-revision: false
247             block: true
248         - trigger-builds:
249           - project: 'yardstick-apex-{slave}-daily-{stream}'
250             predefined-parameters:
251               DEPLOY_SCENARIO={scenario}
252             block: true
253             block-thresholds:
254                 build-step-failure-threshold: 'never'
255                 failure-threshold: 'never'
256                 unstable-threshold: 'FAILURE'
257         - trigger-builds:
258           - project: 'functest-apex-{slave}-daily-{stream}'
259             predefined-parameters:
260               DEPLOY_SCENARIO={scenario}
261             block: true
262             block-thresholds:
263                 build-step-failure-threshold: 'never'
264                 failure-threshold: 'never'
265                 unstable-threshold: 'FAILURE'
266
267 - job-template:
268     name: 'apex-runner-cperf-{stream}'
269
270     # runner cperf job
271
272     node: 'intel-pod2'
273
274     disabled: false
275
276     parameters:
277         - apex-parameter:
278             gs-pathname: '{gs-pathname}'
279         - project-parameter:
280             project: '{project}'
281             branch: '{branch}'
282         - string:
283             name: GIT_BASE
284             default: https://gerrit.opnfv.org/gerrit/$PROJECT
285             description: "Used for overriding the GIT URL coming from parameters macro."
286
287     scm:
288         - git-scm
289
290     properties:
291         - logrotate-default
292         - build-blocker:
293             use-build-blocker: false
294             block-level: 'NODE'
295             blocking-jobs:
296                 - 'apex-deploy.*'
297         - throttle:
298             max-per-node: 1
299             max-total: 10
300             option: 'project'
301
302     builders:
303         - trigger-builds:
304           - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
305             predefined-parameters:
306               OPNFV_CLEAN=yes
307             git-revision: false
308             block: true
309             same-node: true
310         - trigger-builds:
311           - project: 'cperf-apex-intel-pod2-daily-{stream}'
312             predefined-parameters:
313               DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
314             block: true
315             same-node: true
316
317 - job-template:
318     name: 'apex-build-{stream}'
319
320     # Job template for builds
321     #
322     # Required Variables:
323     #     stream:    branch with - in place of / (eg. stable)
324     #     branch:    branch (eg. stable)
325     node: '{daily-slave}'
326
327     disabled: false
328
329     concurrent: true
330
331     parameters:
332         - project-parameter:
333             project: '{project}'
334             branch: '{branch}'
335         - apex-parameter:
336             gs-pathname: '{gs-pathname}'
337         - string:
338             name: GIT_BASE
339             default: https://gerrit.opnfv.org/gerrit/$PROJECT
340             description: "Used for overriding the GIT URL coming from parameters macro."
341
342     scm:
343         - git-scm
344
345     properties:
346         - logrotate-default
347         - build-blocker:
348             use-build-blocker: true
349             block-level: 'NODE'
350             blocking-jobs:
351                 - 'apex-deploy.*'
352         - throttle:
353             max-per-node: 1
354             max-total: 10
355             option: 'project'
356
357     builders:
358         - 'apex-build'
359         - trigger-builds:
360           - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
361             predefined-parameters: |
362               BUILD_DIRECTORY=apex-build-{stream}/.build
363               OPNFV_CLEAN=yes
364             git-revision: false
365             same-node: true
366             block: true
367         - 'apex-upload-artifact'
368
369 - job-template:
370     name: 'apex-deploy-virtual-{scenario}-{stream}'
371
372     # Job template for virtual deployment
373     #
374     # Required Variables:
375     #     stream:    branch with - in place of / (eg. stable)
376     #     branch:    branch (eg. stable)
377     node: '{slave}'
378
379     concurrent: true
380
381     disabled: false
382
383     scm:
384         - git-scm
385
386     parameters:
387         - project-parameter:
388             project: '{project}'
389             branch: '{branch}'
390         - apex-parameter:
391             gs-pathname: '{gs-pathname}'
392         - string:
393             name: DEPLOY_SCENARIO
394             default: '{scenario}'
395             description: "Scenario to deploy with."
396         - string:
397             name: OPNFV_CLEAN
398             default: 'no'
399             description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
400
401     properties:
402         - logrotate-default
403         - build-blocker:
404             use-build-blocker: true
405             block-level: 'NODE'
406             blocking-jobs:
407                 - 'apex-deploy.*'
408         - throttle:
409             max-per-node: 1
410             max-total: 10
411             option: 'project'
412
413     builders:
414         - 'apex-deploy'
415         - 'apex-workspace-cleanup'
416
417 - job-template:
418     name: 'apex-deploy-baremetal-{scenario}-{stream}'
419
420     # Job template for baremetal deployment
421     #
422     # Required Variables:
423     #     stream:    branch with - in place of / (eg. stable)
424     #     branch:    branch (eg. stable)
425     node: '{slave}'
426
427     disabled: false
428
429     scm:
430         - git-scm
431
432     parameters:
433         - project-parameter:
434             project: '{project}'
435             branch: '{branch}'
436         - apex-parameter:
437             gs-pathname: '{gs-pathname}'
438         - string:
439             name: DEPLOY_SCENARIO
440             default: '{scenario}'
441             description: "Scenario to deploy with."
442
443     properties:
444         - logrotate-default
445         - build-blocker:
446             use-build-blocker: true
447             block-level: 'NODE'
448             blocking-jobs:
449                 - 'apex-verify.*'
450                 - 'apex-deploy.*'
451                 - 'apex-build.*'
452
453
454     builders:
455         - 'apex-deploy'
456         - 'apex-workspace-cleanup'
457
458 # Daily
459 - job-template:
460     name: 'apex-daily-{stream}'
461
462     # Job template for daily build
463     #
464     # Required Variables:
465     #     stream:    branch with - in place of / (eg. stable)
466     #     branch:    branch (eg. stable)
467     node: '{daily-slave}'
468
469     disabled: false
470
471     scm:
472         - git-scm
473
474     parameters:
475         - project-parameter:
476             project: '{project}'
477             branch: '{branch}'
478         - apex-parameter:
479             gs-pathname: '{gs-pathname}'
480
481     properties:
482         - logrotate-default
483         - build-blocker:
484             use-build-blocker: true
485             block-level: 'NODE'
486             blocking-jobs:
487                 - 'apex-verify.*'
488                 - 'apex-deploy.*'
489                 - 'apex-build.*'
490                 - 'apex-runner.*'
491                 - 'apex-csit.*'
492
493     triggers:
494         - 'apex-{stream}'
495
496     builders:
497         - trigger-builds:
498           - project: 'apex-build-{stream}'
499             git-revision: true
500             current-parameters: true
501             same-node: true
502             block: true
503         - trigger-builds:
504           - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
505             predefined-parameters: |
506               BUILD_DIRECTORY=apex-build-{stream}/.build
507               OPNFV_CLEAN=yes
508             git-revision: true
509             same-node: true
510             block-thresholds:
511                 build-step-failure-threshold: 'never'
512             block: true
513         - trigger-builds:
514           - project: 'functest-apex-{daily-slave}-daily-{stream}'
515             predefined-parameters:
516               DEPLOY_SCENARIO=os-nosdn-nofeature-ha
517             block: true
518             same-node: true
519             block-thresholds:
520                 build-step-failure-threshold: 'never'
521                 failure-threshold: 'never'
522                 unstable-threshold: 'FAILURE'
523         - trigger-builds:
524           - project: 'yardstick-apex-{slave}-daily-{stream}'
525             predefined-parameters:
526               DEPLOY_SCENARIO=os-nosdn-nofeature-ha
527             block: true
528             same-node: true
529             block-thresholds:
530                 build-step-failure-threshold: 'never'
531                 failure-threshold: 'never'
532                 unstable-threshold: 'FAILURE'
533         - trigger-builds:
534           - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
535             predefined-parameters: |
536               BUILD_DIRECTORY=apex-build-{stream}/.build
537               OPNFV_CLEAN=yes
538             git-revision: true
539             same-node: true
540             block-thresholds:
541                 build-step-failure-threshold: 'never'
542             block: true
543         - trigger-builds:
544           - project: 'functest-apex-{daily-slave}-daily-{stream}'
545             predefined-parameters:
546               DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
547             block: true
548             same-node: true
549             block-thresholds:
550                 build-step-failure-threshold: 'never'
551                 failure-threshold: 'never'
552                 unstable-threshold: 'FAILURE'
553         - trigger-builds:
554           - project: 'yardstick-apex-{slave}-daily-{stream}'
555             predefined-parameters:
556               DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
557             block: true
558             same-node: true
559             block-thresholds:
560                 build-step-failure-threshold: 'never'
561                 failure-threshold: 'never'
562                 unstable-threshold: 'FAILURE'
563
564
565 # Colorado Build
566 - job-template:
567     name: 'apex-build-colorado'
568
569     # Job template for builds
570     #
571     # Required Variables:
572     #     stream:    branch with - in place of / (eg. stable)
573     #     branch:    branch (eg. stable)
574     node: 'apex-daily-colorado'
575
576     disabled: false
577
578     concurrent: true
579
580     parameters:
581         - project-parameter:
582             project: '{project}'
583             branch: 'stable/colorado'
584         - apex-parameter:
585             gs-pathname: '/colorado'
586         - string:
587             name: GIT_BASE
588             default: https://gerrit.opnfv.org/gerrit/$PROJECT
589             description: "Used for overriding the GIT URL coming from parameters macro."
590
591     scm:
592         - git-scm
593
594     properties:
595         - logrotate-default
596         - build-blocker:
597             use-build-blocker: true
598             block-level: 'NODE'
599             blocking-jobs:
600                 - 'apex-deploy.*'
601         - throttle:
602             max-per-node: 1
603             max-total: 10
604             option: 'project'
605
606     builders:
607         - 'apex-build'
608         - 'apex-upload-artifact'
609
610
611 # Colorado FDIO Deploy
612 - job-template:
613     name: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
614
615     # Job template for baremetal deployment
616     #
617     # Required Variables:
618     #     stream:    branch with - in place of / (eg. stable)
619     #     branch:    branch (eg. stable)
620     node: 'lf-pod1'
621
622     disabled: false
623
624     scm:
625         - git-scm
626
627     parameters:
628         - project-parameter:
629             project: '{project}'
630             branch: 'stable/colorado'
631         - apex-parameter:
632             gs-pathname: '/colorado'
633         - string:
634             name: DEPLOY_SCENARIO
635             default: 'os-odl_l2-fdio-ha'
636             description: "Scenario to deploy with."
637
638     properties:
639         - logrotate-default
640         - build-blocker:
641             use-build-blocker: true
642             block-level: 'NODE'
643             blocking-jobs:
644                 - 'apex-verify.*'
645                 - 'apex-deploy.*'
646                 - 'apex-build.*'
647
648
649     builders:
650         - 'apex-deploy'
651         - 'apex-workspace-cleanup'
652
653 # Colorado FDIO Daily
654 - job-template:
655     name: 'apex-daily-colorado'
656
657     # Job template for daily build
658     #
659     # Required Variables:
660     #     stream:    branch with - in place of / (eg. stable)
661     #     branch:    branch (eg. stable)
662     node: 'apex-daily-colorado'
663
664     disabled: false
665
666     scm:
667         - git-scm
668
669     parameters:
670         - project-parameter:
671             project: '{project}'
672             branch: 'stable/colorado'
673         - apex-parameter:
674             gs-pathname: '/colorado'
675
676     properties:
677         - logrotate-default
678         - build-blocker:
679             use-build-blocker: true
680             block-level: 'NODE'
681             blocking-jobs:
682                 - 'apex-verify.*'
683                 - 'apex-deploy.*'
684                 - 'apex-build.*'
685                 - 'apex-runner.*'
686
687     triggers:
688         - 'apex-colorado'
689
690     builders:
691         - trigger-builds:
692           - project: 'apex-build-colorado'
693             git-revision: true
694             current-parameters: true
695             same-node: true
696             block: true
697         - trigger-builds:
698           - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
699             predefined-parameters: |
700               BUILD_DIRECTORY=apex-build-colorado/.build
701               OPNFV_CLEAN=yes
702             git-revision: true
703             same-node: true
704             block-thresholds:
705                 build-step-failure-threshold: 'never'
706             block: true
707         - trigger-builds:
708           - project: 'functest-apex-apex-daily-colorado-daily-colorado'
709             predefined-parameters:
710               DEPLOY_SCENARIO=os-odl_l2-fdio-ha
711             block: true
712             same-node: true
713             block-thresholds:
714                 build-step-failure-threshold: 'never'
715                 failure-threshold: 'never'
716                 unstable-threshold: 'FAILURE'
717
718 # CSIT promote
719 - job-template:
720     name: 'apex-csit-promote-daily-{stream}'
721
722     # Job template for promoting CSIT Snapshots
723     #
724     # Required Variables:
725     #     stream:    branch with - in place of / (eg. stable)
726     #     branch:    branch (eg. stable)
727     node: '{daily-slave}'
728
729     disabled: false
730
731     scm:
732         - git-scm
733
734     parameters:
735         - project-parameter:
736             project: '{project}'
737             branch: '{branch}'
738         - apex-parameter:
739             gs-pathname: '{gs-pathname}'
740
741     properties:
742         - build-blocker:
743             use-build-blocker: true
744             block-level: 'NODE'
745             blocking-jobs:
746                 - 'apex-verify.*'
747                 - 'apex-deploy.*'
748                 - 'apex-build.*'
749                 - 'apex-runner.*'
750                 - 'apex-daily.*'
751
752     triggers:
753         - timed: '0 12 * * 0'
754
755     builders:
756         - 'apex-build'
757         - trigger-builds:
758           - project: 'apex-deploy-virtual-os-odl_l3-csit-noha-{stream}'
759             predefined-parameters: |
760               BUILD_DIRECTORY=apex-csit-promote-daily-{stream}
761               OPNFV_CLEAN=yes
762             git-revision: false
763             block: true
764             same-node: true
765         - trigger-builds:
766           - project: 'functest-apex-{daily-slave}-suite-{stream}'
767             predefined-parameters: |
768               DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
769               FUNCTEST_SUITE_NAME=tempest_smoke_serial
770             block: true
771             same-node: true
772         - shell:
773             !include-raw-escape: ./apex-snapshot-create.sh
774         - shell:
775             !include-raw-escape: ./apex-upload-artifact.sh
776
777 - job-template:
778     name: 'apex-gs-clean-{stream}'
779
780     # Job template for clean
781     #
782     # Required Variables:
783     #     stream:    branch with - in place of / (eg. stable)
784     node: '{slave}'
785
786     disabled: false
787
788     parameters:
789         - project-parameter:
790             project: '{project}'
791             branch: '{branch}'
792         - apex-parameter:
793             gs-pathname: '{gs-pathname}'
794
795     builders:
796         - 'apex-gs-clean'
797
798     triggers:
799         - 'apex-gs-clean-{stream}'
800
801
802 ########################
803 # parameter macros
804 ########################
805 - parameter:
806     name: apex-parameter
807     parameters:
808         - string:
809             name: ARTIFACT_NAME
810             default: 'latest'
811             description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
812         - string:
813             name: ARTIFACT_VERSION
814             default: 'daily'
815             description: "Artifact version type"
816         - string:
817             name: BUILD_DIRECTORY
818             default: $WORKSPACE/build
819             description: "Directory where the build artifact will be located upon the completion of the build."
820         - string:
821             name: CACHE_DIRECTORY
822             default: $HOME/opnfv/cache{gs-pathname}
823             description: "Directory where the cache to be used during the build is located."
824         - string:
825             name: GIT_BASE
826             default: https://gerrit.opnfv.org/gerrit/$PROJECT
827             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
828         - string:
829             name: GS_PATHNAME
830             default: '{gs-pathname}'
831             description: "Version directory where opnfv artifacts are stored in gs repository"
832         - string:
833             name: GS_URL
834             default: artifacts.opnfv.org/$PROJECT{gs-pathname}
835             description: "URL to Google Storage."
836
837 ########################
838 # builder macros
839 ########################
840 - builder:
841     name: 'apex-unit-test'
842     builders:
843         - shell:
844             !include-raw: ./apex-unit-test.sh
845
846 - builder:
847     name: 'apex-build'
848     builders:
849         - shell:
850             !include-raw: ./apex-build.sh
851
852 - builder:
853     name: 'apex-workspace-cleanup'
854     builders:
855         - shell:
856             !include-raw: ./apex-workspace-cleanup.sh
857
858 - builder:
859     name: 'apex-upload-artifact'
860     builders:
861         - shell:
862             !include-raw: ./apex-upload-artifact.sh
863
864 - builder:
865     name: 'apex-gs-cleanup'
866     builders:
867         - shell:
868             !include-raw: ./apex-gs-cleanup.sh
869
870 - builder:
871     name: 'apex-deploy'
872     builders:
873         - shell:
874             !include-raw: ./apex-deploy.sh
875
876
877 #######################
878 # trigger macros
879 ########################
880 - trigger:
881     name: 'apex-master'
882     triggers:
883         - timed: '0 3 * * *'
884 - trigger:
885     name: 'apex-colorado'
886     triggers:
887         - timed: '0 12 * * *'
888 - trigger:
889     name: 'apex-gs-clean-{stream}'
890     triggers:
891         - timed: '0 2 * * *'