Merge "Apex: changes build result using groovy-postbuild"
[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 # Build status is always success due conditional plugin prefetching
756 # build status before multijob phases execute
757 #        - conditional-step:
758 #            condition-kind: current-status
759 #            condition-worst: SUCCESS
760 #            condtion-best: SUCCESS
761 #            on-evaluation-failure: mark-unstable
762 #            steps:
763 #                - shell: 'echo "Tests Passed"'
764
765     publishers:
766         - groovy-postbuild:
767             script:
768                 !include-raw-escape: ./update-build-result.groovy
769
770
771 # danube Daily
772 - job-template:
773     name: 'apex-daily-danube'
774
775     # Job template for daily build
776     #
777     # Required Variables:
778     #     stream:    branch with - in place of / (eg. stable)
779     #     branch:    branch (eg. stable)
780     project-type: 'multijob'
781
782     node: 'apex-baremetal-danube'
783
784     disabled: false
785
786     scm:
787         - git-scm
788
789     parameters:
790         - '{project}-defaults'
791         - '{project}-baremetal-danube-defaults'
792         - project-parameter:
793             project: '{project}'
794             branch: 'stable/danube'
795         - apex-parameter:
796             gs-pathname: '/danube'
797
798     properties:
799         - logrotate-default
800
801     triggers:
802         - 'apex-danube'
803
804     builders:
805         - multijob:
806             name: build
807             condition: SUCCESSFUL
808             projects:
809                 - name: 'apex-build-danube'
810                   current-parameters: false
811                   predefined-parameters: |
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: 'Verify and upload ISO'
822             condition: SUCCESSFUL
823             projects:
824                 - name: 'apex-verify-iso-danube'
825                   current-parameters: false
826                   predefined-parameters: |
827                     BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
828                     GERRIT_BRANCH=$GERRIT_BRANCH
829                     GERRIT_REFSPEC=
830                     GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
831                     GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
832                   node-parameters: true
833                   kill-phase-on: FAILURE
834                   abort-all-job: true
835                   git-revision: true
836         - multijob:
837             name: Baremetal Deploy and Test Phase
838             condition: SUCCESSFUL
839             projects:
840
841                 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
842                   node-parameters: false
843                   current-parameters: false
844                   predefined-parameters: |
845                     OPNFV_CLEAN=yes
846                   kill-phase-on: NEVER
847                   abort-all-job: true
848                   git-revision: false
849
850                 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
851                   node-parameters: false
852                   current-parameters: false
853                   predefined-parameters: |
854                     OPNFV_CLEAN=yes
855                   kill-phase-on: NEVER
856                   abort-all-job: true
857                   git-revision: false
858
859                 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
860                   node-parameters: false
861                   current-parameters: false
862                   predefined-parameters: |
863                     OPNFV_CLEAN=yes
864                   kill-phase-on: NEVER
865                   abort-all-job: true
866                   git-revision: false
867
868                 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
869                   node-parameters: false
870                   current-parameters: false
871                   predefined-parameters: |
872                     OPNFV_CLEAN=yes
873                   kill-phase-on: NEVER
874                   abort-all-job: true
875                   git-revision: false
876
877                 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
878                   node-parameters: false
879                   current-parameters: false
880                   predefined-parameters: |
881                     OPNFV_CLEAN=yes
882                   kill-phase-on: NEVER
883                   abort-all-job: true
884                   git-revision: false
885
886                 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
887                   node-parameters: false
888                   current-parameters: false
889                   predefined-parameters: |
890                     OPNFV_CLEAN=yes
891                   kill-phase-on: NEVER
892                   abort-all-job: true
893                   git-revision: false
894
895                 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
896                   node-parameters: false
897                   current-parameters: false
898                   predefined-parameters: |
899                     OPNFV_CLEAN=yes
900                   kill-phase-on: NEVER
901                   abort-all-job: true
902                   git-revision: false
903
904                 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
905                   node-parameters: false
906                   current-parameters: false
907                   predefined-parameters: |
908                     OPNFV_CLEAN=yes
909                   kill-phase-on: NEVER
910                   abort-all-job: true
911                   git-revision: false
912
913                 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
914                   node-parameters: false
915                   current-parameters: false
916                   predefined-parameters: |
917                     OPNFV_CLEAN=yes
918                   kill-phase-on: NEVER
919                   abort-all-job: true
920                   git-revision: false
921
922                 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
923                   node-parameters: false
924                   current-parameters: false
925                   predefined-parameters: |
926                     OPNFV_CLEAN=yes
927                   kill-phase-on: NEVER
928                   abort-all-job: true
929                   git-revision: false
930
931                 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
932                   node-parameters: false
933                   current-parameters: false
934                   predefined-parameters: |
935                     OPNFV_CLEAN=yes
936                   kill-phase-on: NEVER
937                   abort-all-job: true
938                   git-revision: false
939
940                 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
941                   node-parameters: false
942                   current-parameters: false
943                   predefined-parameters: |
944                     OPNFV_CLEAN=yes
945                   kill-phase-on: NEVER
946                   abort-all-job: true
947                   git-revision: false
948
949                 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
950                   node-parameters: false
951                   current-parameters: false
952                   predefined-parameters: |
953                     OPNFV_CLEAN=yes
954                   kill-phase-on: NEVER
955                   abort-all-job: true
956                   git-revision: false
957
958                 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
959                   node-parameters: false
960                   current-parameters: false
961                   predefined-parameters: |
962                     OPNFV_CLEAN=yes
963                   kill-phase-on: NEVER
964                   abort-all-job: true
965                   git-revision: false
966
967                 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
968                   node-parameters: false
969                   current-parameters: false
970                   predefined-parameters: |
971                     OPNFV_CLEAN=yes
972                   kill-phase-on: NEVER
973                   abort-all-job: true
974                   git-revision: false
975
976                 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
977                   node-parameters: false
978                   current-parameters: false
979                   predefined-parameters: |
980                     OPNFV_CLEAN=yes
981                   kill-phase-on: NEVER
982                   abort-all-job: true
983                   git-revision: false
984
985                 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
986                   node-parameters: false
987                   current-parameters: false
988                   predefined-parameters: |
989                     OPNFV_CLEAN=yes
990                   kill-phase-on: NEVER
991                   abort-all-job: true
992                   git-revision: false
993
994                 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
995                   node-parameters: false
996                   current-parameters: false
997                   predefined-parameters: |
998                     OPNFV_CLEAN=yes
999                   kill-phase-on: NEVER
1000                   abort-all-job: true
1001                   git-revision: false
1002
1003                 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1004                   node-parameters: false
1005                   current-parameters: false
1006                   predefined-parameters: |
1007                     OPNFV_CLEAN=yes
1008                   kill-phase-on: NEVER
1009                   abort-all-job: true
1010                   git-revision: false
1011
1012                 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1013                   node-parameters: false
1014                   current-parameters: false
1015                   predefined-parameters: |
1016                     OPNFV_CLEAN=yes
1017                   kill-phase-on: NEVER
1018                   abort-all-job: true
1019                   git-revision: false
1020
1021                 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1022                   node-parameters: false
1023                   current-parameters: false
1024                   predefined-parameters: |
1025                     OPNFV_CLEAN=yes
1026                   kill-phase-on: NEVER
1027                   abort-all-job: true
1028                   git-revision: false
1029
1030                 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1031                   node-parameters: false
1032                   current-parameters: false
1033                   predefined-parameters: |
1034                     OPNFV_CLEAN=yes
1035                   kill-phase-on: NEVER
1036                   abort-all-job: true
1037                   git-revision: false
1038
1039                 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1040                   node-parameters: false
1041                   current-parameters: false
1042                   predefined-parameters: |
1043                     OPNFV_CLEAN=yes
1044                   kill-phase-on: NEVER
1045                   abort-all-job: true
1046                   git-revision: false
1047
1048                 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1049                   node-parameters: false
1050                   current-parameters: false
1051                   predefined-parameters: |
1052                     OPNFV_CLEAN=yes
1053                   kill-phase-on: NEVER
1054                   abort-all-job: true
1055                   git-revision: false
1056
1057                 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1058                   node-parameters: false
1059                   current-parameters: false
1060                   predefined-parameters: |
1061                     OPNFV_CLEAN=yes
1062                   kill-phase-on: NEVER
1063                   abort-all-job: true
1064                   git-revision: false
1065
1066                 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1067                   node-parameters: false
1068                   current-parameters: false
1069                   predefined-parameters: |
1070                     OPNFV_CLEAN=yes
1071                   kill-phase-on: NEVER
1072                   abort-all-job: true
1073                   git-revision: false
1074
1075
1076 # master Daily
1077 - job-template:
1078     name: 'apex-daily-master'
1079
1080     # Job template for daily build
1081     #
1082     # Required Variables:
1083     #     stream:    branch with - in place of / (eg. stable)
1084     #     branch:    branch (eg. stable)
1085     project-type: 'multijob'
1086
1087     node: 'apex-baremetal-master'
1088
1089     disabled: false
1090
1091     scm:
1092         - git-scm
1093
1094     parameters:
1095         - '{project}-defaults'
1096         - '{project}-baremetal-master-defaults'
1097         - project-parameter:
1098             project: '{project}'
1099             branch: 'master'
1100         - apex-parameter:
1101             gs-pathname: ''
1102
1103     properties:
1104         - logrotate-default
1105
1106     triggers:
1107         - 'apex-master'
1108
1109     builders:
1110         - multijob:
1111             name: build
1112             condition: SUCCESSFUL
1113             projects:
1114                 - name: 'apex-build-master'
1115                   current-parameters: false
1116                   predefined-parameters: |
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: 'Verify and upload ISO'
1127             condition: SUCCESSFUL
1128             projects:
1129                 - name: 'apex-verify-iso-master'
1130                   current-parameters: false
1131                   predefined-parameters: |
1132                     BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1133                     GERRIT_BRANCH=$GERRIT_BRANCH
1134                     GERRIT_REFSPEC=
1135                     GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1136                     GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1137                   node-parameters: true
1138                   kill-phase-on: FAILURE
1139                   abort-all-job: true
1140                   git-revision: true
1141         - multijob:
1142             name: Baremetal Deploy and Test Phase
1143             condition: SUCCESSFUL
1144             projects:
1145
1146                 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1147                   node-parameters: false
1148                   current-parameters: false
1149                   predefined-parameters: |
1150                     OPNFV_CLEAN=yes
1151                   kill-phase-on: NEVER
1152                   abort-all-job: true
1153                   git-revision: false
1154
1155                 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1156                   node-parameters: false
1157                   current-parameters: false
1158                   predefined-parameters: |
1159                     OPNFV_CLEAN=yes
1160                   kill-phase-on: NEVER
1161                   abort-all-job: true
1162                   git-revision: false
1163
1164                 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1165                   node-parameters: false
1166                   current-parameters: false
1167                   predefined-parameters: |
1168                     OPNFV_CLEAN=yes
1169                   kill-phase-on: NEVER
1170                   abort-all-job: true
1171                   git-revision: false
1172
1173                 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1174                   node-parameters: false
1175                   current-parameters: false
1176                   predefined-parameters: |
1177                     OPNFV_CLEAN=yes
1178                   kill-phase-on: NEVER
1179                   abort-all-job: true
1180                   git-revision: false
1181
1182                 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1183                   node-parameters: false
1184                   current-parameters: false
1185                   predefined-parameters: |
1186                     OPNFV_CLEAN=yes
1187                   kill-phase-on: NEVER
1188                   abort-all-job: true
1189                   git-revision: false
1190
1191                 - name: 'apex-os-ovn-nofeature-noha-baremetal-master'
1192                   node-parameters: false
1193                   current-parameters: false
1194                   predefined-parameters: |
1195                     OPNFV_CLEAN=yes
1196                   kill-phase-on: NEVER
1197                   abort-all-job: true
1198                   git-revision: false
1199
1200
1201
1202 # snapshot create
1203 - job-template:
1204     name: 'apex-create-snapshot'
1205
1206     # Job template for clean
1207     #
1208     # Required Variables:
1209     #     stream:    branch with - in place of / (eg. stable)
1210
1211     disabled: false
1212
1213     builders:
1214         - shell:
1215             !include-raw-escape: ./apex-snapshot-create.sh
1216
1217 # snapshot upload
1218 - job-template:
1219     name: 'apex-upload-snapshot'
1220
1221     # Job template for clean
1222     #
1223     # Required Variables:
1224     #     stream:    branch with - in place of / (eg. stable)
1225
1226     disabled: false
1227
1228     builders:
1229         - inject:
1230            properties-content: ARTIFACT_TYPE=snapshot
1231         - 'apex-upload-artifact'
1232
1233 # CSIT promote
1234 - job-template:
1235     name: 'apex-csit-promote-daily-{stream}'
1236
1237     # Job template for promoting CSIT Snapshots
1238     #
1239     # Required Variables:
1240     #     stream:    branch with - in place of / (eg. stable)
1241     #     branch:    branch (eg. stable)
1242     node: '{virtual-slave}'
1243     project-type: 'multijob'
1244     disabled: false
1245
1246     scm:
1247         - git-scm
1248
1249     parameters:
1250         - project-parameter:
1251             project: '{project}'
1252             branch: '{branch}'
1253         - apex-parameter:
1254             gs-pathname: '{gs-pathname}'
1255
1256     properties:
1257         - build-blocker:
1258             use-build-blocker: true
1259             block-level: 'NODE'
1260             blocking-jobs:
1261                 - 'apex-verify.*'
1262                 - 'apex-deploy.*'
1263                 - 'apex-runner.*'
1264                 - 'apex-daily.*'
1265
1266     triggers:
1267         - timed: '0 12 * * 0'
1268
1269     builders:
1270         - multijob:
1271             name: build
1272             condition: SUCCESSFUL
1273             projects:
1274                 - name: 'apex-build-{stream}'
1275                   current-parameters: false
1276                   predefined-parameters: |
1277                     GERRIT_BRANCH=$GERRIT_BRANCH
1278                     GERRIT_REFSPEC=$GERRIT_REFSPEC
1279                     GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1280                     GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1281                   node-parameters: false
1282                   kill-phase-on: FAILURE
1283                   abort-all-job: true
1284                   git-revision: true
1285         - multijob:
1286             name: deploy-virtual
1287             condition: SUCCESSFUL
1288             projects:
1289                 - name: 'apex-deploy-virtual-{stream}'
1290                   current-parameters: false
1291                   predefined-parameters: |
1292                     DEPLOY_SCENARIO=os-odl_l3-csit-noha
1293                     OPNFV_CLEAN=yes
1294                     GERRIT_BRANCH=$GERRIT_BRANCH
1295                     GERRIT_REFSPEC=$GERRIT_REFSPEC
1296                     GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1297                     GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1298                     PROMOTE=True
1299                   node-parameters: true
1300                   kill-phase-on: FAILURE
1301                   abort-all-job: true
1302                   git-revision: false
1303         - multijob:
1304             name: functest-smoke
1305             condition: SUCCESSFUL
1306             projects:
1307               - name: 'functest-apex-virtual-suite-{stream}'
1308                 current-parameters: false
1309                 predefined-parameters: |
1310                   DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1311                   FUNCTEST_SUITE_NAME=tempest_smoke_serial
1312                   GERRIT_BRANCH=$GERRIT_BRANCH
1313                   GERRIT_REFSPEC=$GERRIT_REFSPEC
1314                   GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1315                   GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1316                 node-parameters: true
1317                 kill-phase-on: FAILURE
1318                 abort-all-job: true
1319                 git-revision: false
1320         - multijob:
1321             name: create snapshot
1322             condition: SUCCESSFUL
1323             projects:
1324               - name: 'apex-create-snapshot'
1325                 current-parameters: false
1326                 predefined-parameters: |
1327                   SNAP_TYPE=csit
1328                 node-parameters: true
1329                 kill-phase-on: FAILURE
1330                 abort-all-job: true
1331                 git-revision: false
1332         - multijob:
1333             name: upload snapshot
1334             condition: SUCCESSFUL
1335             projects:
1336               - name: 'apex-upload-snapshot'
1337                 current-parameters: false
1338                 predefined-parameters: |
1339                   SNAP_TYPE=csit
1340                 node-parameters: true
1341                 kill-phase-on: FAILURE
1342                 abort-all-job: true
1343                 git-revision: false
1344
1345 # FDIO promote
1346 - job-template:
1347     name: 'apex-fdio-promote-daily-{stream}'
1348
1349     # Job template for promoting CSIT Snapshots
1350     #
1351     # Required Variables:
1352     #     stream:    branch with - in place of / (eg. stable)
1353     #     branch:    branch (eg. stable)
1354     node: '{virtual-slave}'
1355     project-type: 'multijob'
1356     disabled: false
1357
1358     scm:
1359         - git-scm
1360
1361     parameters:
1362         - project-parameter:
1363             project: '{project}'
1364             branch: '{branch}'
1365         - apex-parameter:
1366             gs-pathname: '{gs-pathname}'
1367
1368     properties:
1369         - build-blocker:
1370             use-build-blocker: true
1371             block-level: 'NODE'
1372             blocking-jobs:
1373                 - 'apex-verify.*'
1374                 - 'apex-deploy.*'
1375                 - 'apex-runner.*'
1376                 - 'apex-daily.*'
1377
1378     builders:
1379         - multijob:
1380             name: build
1381             condition: SUCCESSFUL
1382             projects:
1383                 - name: 'apex-build-{stream}'
1384                   current-parameters: false
1385                   predefined-parameters: |
1386                     GERRIT_BRANCH=$GERRIT_BRANCH
1387                     GERRIT_REFSPEC=$GERRIT_REFSPEC
1388                     GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1389                     GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1390                   node-parameters: false
1391                   kill-phase-on: FAILURE
1392                   abort-all-job: true
1393                   git-revision: true
1394         - multijob:
1395             name: deploy-virtual
1396             condition: SUCCESSFUL
1397             projects:
1398                 - name: 'apex-deploy-virtual-{stream}'
1399                   current-parameters: false
1400                   predefined-parameters: |
1401                     DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1402                     OPNFV_CLEAN=yes
1403                     GERRIT_BRANCH=$GERRIT_BRANCH
1404                     GERRIT_REFSPEC=$GERRIT_REFSPEC
1405                     GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1406                     GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1407                     PROMOTE=True
1408                   node-parameters: true
1409                   kill-phase-on: FAILURE
1410                   abort-all-job: true
1411                   git-revision: false
1412         - multijob:
1413             name: create snapshot
1414             condition: SUCCESSFUL
1415             projects:
1416               - name: 'apex-create-snapshot'
1417                 current-parameters: false
1418                 predefined-parameters: |
1419                   SNAP_TYPE=fdio
1420                 node-parameters: true
1421                 kill-phase-on: FAILURE
1422                 abort-all-job: true
1423                 git-revision: false
1424         - multijob:
1425             name: upload snapshot
1426             condition: SUCCESSFUL
1427             projects:
1428               - name: 'apex-upload-snapshot'
1429                 current-parameters: false
1430                 predefined-parameters: |
1431                   SNAP_TYPE=fdio
1432                 node-parameters: true
1433                 kill-phase-on: FAILURE
1434                 abort-all-job: true
1435                 git-revision: false
1436
1437 ########################
1438 # parameter macros
1439 ########################
1440 - parameter:
1441     name: apex-parameter
1442     parameters:
1443         - string:
1444             name: ARTIFACT_NAME
1445             default: 'latest'
1446             description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1447         - string:
1448             name: ARTIFACT_VERSION
1449             default: 'daily'
1450             description: "Artifact version type"
1451         - string:
1452             name: BUILD_DIRECTORY
1453             default: $WORKSPACE/.build
1454             description: "Directory where the build artifact will be located upon the completion of the build."
1455         - string:
1456             name: CACHE_DIRECTORY
1457             default: $HOME/opnfv/apex-cache{gs-pathname}
1458             description: "Directory where the cache to be used during the build is located."
1459         - string:
1460             name: GIT_BASE
1461             default: https://gerrit.opnfv.org/gerrit/$PROJECT
1462             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1463         - string:
1464             name: GS_PATHNAME
1465             default: '{gs-pathname}'
1466             description: "Version directory where opnfv artifacts are stored in gs repository"
1467         - string:
1468             name: GS_URL
1469             default: $GS_BASE{gs-pathname}
1470             description: "URL to Google Storage."
1471         - string:
1472             name: PROMOTE
1473             default: 'False'
1474             description: "Flag to know if we should promote/upload snapshot artifacts."
1475
1476 ########################
1477 # builder macros
1478 ########################
1479 - builder:
1480     name: 'apex-unit-test'
1481     builders:
1482         - shell:
1483             !include-raw: ./apex-unit-test.sh
1484
1485 - builder:
1486     name: 'apex-build'
1487     builders:
1488         - shell:
1489             !include-raw: ./apex-build.sh
1490
1491 - builder:
1492     name: 'apex-workspace-cleanup'
1493     builders:
1494         - shell:
1495             !include-raw: ./apex-workspace-cleanup.sh
1496
1497 - builder:
1498     name: 'apex-iso-verify'
1499     builders:
1500         - shell:
1501             !include-raw: ./apex-iso-verify.sh
1502
1503
1504 - builder:
1505     name: 'apex-upload-artifact'
1506     builders:
1507         - shell:
1508             !include-raw: ./apex-upload-artifact.sh
1509
1510 - builder:
1511     name: 'apex-download-artifact'
1512     builders:
1513         - shell:
1514             !include-raw: ./apex-download-artifact.sh
1515
1516 - builder:
1517     name: 'apex-deploy'
1518     builders:
1519         - shell:
1520             !include-raw: ./apex-deploy.sh
1521
1522 #######################
1523 # trigger macros
1524 ########################
1525 - trigger:
1526     name: 'apex-master'
1527     triggers:
1528         - timed: '0 12 * * *'
1529 - trigger:
1530     name: 'apex-danube'
1531     triggers:
1532         - timed: '0 3 1 1 7'