2 name: 'daisy4nfv-merge-jobs'
8 ###########################################################
9 # use alias to keep the jobs'name existed already unchanged
10 ###########################################################
13 #####################################
15 #####################################
22 branch: 'stable/{stream}'
23 gs-pathname: '/{stream}'
25 #####################################
27 #####################################
30 slave-label: 'opnfv-build-centos'
32 slave-label: 'daisy-virtual'
33 #####################################
35 #####################################
37 - '{alias}-merge-{stream}'
38 - '{alias}-merge-{phase}-{stream}'
39 #####################################
41 #####################################
43 name: '{alias}-merge-{stream}'
45 project-type: multijob
58 use-build-blocker: true
60 - '{alias}-merge-(master|danube)'
74 server-name: 'gerrit.opnfv.org'
77 - comment-added-contains-event:
78 comment-contains-value: 'remerge'
80 - project-compare-type: 'ANT'
81 project-pattern: '{project}'
83 - branch-compare-type: 'ANT'
84 branch-pattern: '**/{branch}'
92 disable-strict-forbidden-file-verification: 'true'
98 readable-message: true
104 - 'opnfv-build-centos-defaults'
105 - '{alias}-merge-defaults':
106 gs-pathname: '{gs-pathname}'
109 - description-setter:
110 description: "Built on $NODE_NAME"
113 condition: SUCCESSFUL
115 - name: '{alias}-merge-build-{stream}'
116 current-parameters: false
117 predefined-parameters: |
119 GERRIT_REFSPEC=$GERRIT_REFSPEC
120 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
121 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
122 node-parameters: false
123 kill-phase-on: FAILURE
127 condition: SUCCESSFUL
129 - name: '{alias}-merge-deploy-virtual-{stream}'
130 current-parameters: false
131 predefined-parameters: |
133 GERRIT_REFSPEC=$GERRIT_REFSPEC
134 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
135 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
136 node-parameters: false
137 kill-phase-on: FAILURE
141 name: '{alias}-merge-{phase}-{stream}'
143 disabled: '{obj:disabled}'
154 use-build-blocker: true
156 - '{alias}-merge-{phase}-.*'
172 - '{installer}-defaults'
173 - '{slave-label}-defaults'
174 - '{alias}-merge-defaults':
175 gs-pathname: '{gs-pathname}'
178 - description-setter:
179 description: "Built on $NODE_NAME"
180 - '{project}-merge-{phase}-macro'
182 #####################################
184 #####################################
186 name: 'daisy-merge-build-macro'
189 !include-raw: ./daisy4nfv-basic.sh
191 !include-raw: ./daisy4nfv-build.sh
193 !include-raw: ./daisy4nfv-upload-artifact.sh
195 !include-raw: ./daisy4nfv-workspace-cleanup.sh
198 name: 'daisy-merge-deploy-virtual-macro'
201 !include-raw: ./daisy4nfv-download-artifact.sh
203 !include-raw: ./daisy-deploy.sh
205 !include-raw: ./daisy4nfv-workspace-cleanup.sh
207 #####################################
209 #####################################
211 name: 'daisy4nfv-merge-defaults'
214 name: BUILD_DIRECTORY
215 default: $WORKSPACE/build_output
216 description: "Directory where the build artifact will be located upon the completion of the build."
218 name: CACHE_DIRECTORY
219 default: $HOME/opnfv/cache/$INSTALLER_TYPE
220 description: "Directory where the cache to be used during the build is located."
223 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
224 description: "URL to Google Storage."