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|euphrates)'
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}-.*'
157 - '{installer}-daily-.*'
173 - '{installer}-defaults'
174 - '{slave-label}-defaults'
175 - '{alias}-merge-defaults':
176 gs-pathname: '{gs-pathname}'
179 - description-setter:
180 description: "Built on $NODE_NAME"
181 - '{project}-merge-{phase}-macro'
183 #####################################
185 #####################################
187 name: 'daisy-merge-build-macro'
190 !include-raw: ./daisy4nfv-basic.sh
192 !include-raw: ./daisy4nfv-build.sh
194 !include-raw: ./daisy4nfv-upload-artifact.sh
198 name: 'daisy-merge-deploy-virtual-macro'
201 !include-raw: ./daisy4nfv-download-artifact.sh
203 !include-raw: ./daisy-deploy.sh
206 #####################################
208 #####################################
210 name: 'daisy4nfv-merge-defaults'
213 name: BUILD_DIRECTORY
214 default: $WORKSPACE/build_output
215 description: "Directory where the build artifact will be located upon the completion of the build."
217 name: CACHE_DIRECTORY
218 default: $HOME/opnfv/cache/$INSTALLER_TYPE
219 description: "Directory where the cache to be used during the build is located."
222 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
223 description: "URL to Google Storage."