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: 'opnfv-build-centos'
33 #####################################
35 #####################################
37 - '{alias}-merge-{stream}'
38 - '{alias}-merge-{phase}-{stream}'
39 #####################################
41 #####################################
43 name: '{alias}-merge-{stream}'
45 project-type: multijob
69 server-name: 'gerrit.opnfv.org'
72 - comment-added-contains-event:
73 comment-contains-value: 'remerge'
75 - project-compare-type: 'ANT'
76 project-pattern: '{project}'
78 - branch-compare-type: 'ANT'
79 branch-pattern: '**/{branch}'
87 disable-strict-forbidden-file-verification: 'true'
93 readable-message: true
99 - 'opnfv-build-centos-defaults'
100 - '{alias}-merge-defaults':
101 gs-pathname: '{gs-pathname}'
104 - description-setter:
105 description: "Built on $NODE_NAME"
108 condition: SUCCESSFUL
110 - name: '{alias}-merge-build-{stream}'
111 current-parameters: false
112 predefined-parameters: |
114 GERRIT_REFSPEC=$GERRIT_REFSPEC
115 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
116 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
117 node-parameters: false
118 kill-phase-on: FAILURE
122 condition: SUCCESSFUL
124 - name: '{alias}-merge-deploy-virtual-{stream}'
125 current-parameters: false
126 predefined-parameters: |
128 GERRIT_REFSPEC=$GERRIT_REFSPEC
129 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
130 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
131 node-parameters: false
132 kill-phase-on: FAILURE
136 name: '{alias}-merge-{phase}-{stream}'
138 disabled: '{obj:disabled}'
149 use-build-blocker: true
151 - '{alias}-merge-deploy-.*'
167 - '{slave-label}-defaults'
168 - '{alias}-merge-defaults':
169 gs-pathname: '{gs-pathname}'
172 - description-setter:
173 description: "Built on $NODE_NAME"
174 - '{project}-merge-{phase}-macro'
176 #####################################
178 #####################################
180 name: 'daisy-merge-build-macro'
183 !include-raw: ./daisy4nfv-basic.sh
185 !include-raw: ./daisy4nfv-build.sh
187 !include-raw: ./daisy4nfv-upload-artifact.sh
189 !include-raw: ./daisy4nfv-workspace-cleanup.sh
192 name: 'daisy-merge-deploy-virtual-macro'
195 !include-raw: ./daisy4nfv-download-artifact.sh
197 !include-raw: ./daisy-deploy.sh
199 !include-raw: ./daisy4nfv-workspace-cleanup.sh
201 #####################################
203 #####################################
205 name: 'daisy4nfv-merge-defaults'
208 name: BUILD_DIRECTORY
209 default: $WORKSPACE/build_output
210 description: "Directory where the build artifact will be located upon the completion of the build."
212 name: CACHE_DIRECTORY
213 default: $HOME/opnfv/cache/$INSTALLER_TYPE
214 description: "Directory where the cache to be used during the build is located."
217 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
218 description: "URL to Google Storage."