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}'
92 readable-message: true
98 - 'opnfv-build-centos-defaults'
99 - '{alias}-merge-defaults':
100 gs-pathname: '{gs-pathname}'
103 - description-setter:
104 description: "Built on $NODE_NAME"
107 condition: SUCCESSFUL
109 - name: '{alias}-merge-build-{stream}'
110 current-parameters: false
111 predefined-parameters: |
113 GERRIT_REFSPEC=$GERRIT_REFSPEC
114 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
115 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
116 node-parameters: false
117 kill-phase-on: FAILURE
121 condition: SUCCESSFUL
123 - name: '{alias}-merge-deploy-virtual-{stream}'
124 current-parameters: false
125 predefined-parameters: |
127 GERRIT_REFSPEC=$GERRIT_REFSPEC
128 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
129 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
130 node-parameters: false
131 kill-phase-on: FAILURE
135 name: '{alias}-merge-{phase}-{stream}'
137 disabled: '{obj:disabled}'
148 use-build-blocker: true
150 - '{alias}-merge-deploy-.*'
166 - '{slave-label}-defaults'
167 - '{alias}-merge-defaults':
168 gs-pathname: '{gs-pathname}'
171 - description-setter:
172 description: "Built on $NODE_NAME"
173 - '{project}-merge-{phase}-macro'
175 #####################################
177 #####################################
179 name: 'daisy-merge-build-macro'
182 !include-raw: ./daisy4nfv-basic.sh
184 !include-raw: ./daisy4nfv-build.sh
186 !include-raw: ./daisy4nfv-upload-artifact.sh
188 !include-raw: ./daisy4nfv-workspace-cleanup.sh
191 name: 'daisy-merge-deploy-virtual-macro'
194 !include-raw: ./daisy4nfv-download-artifact.sh
196 !include-raw: ./daisy-deploy.sh
198 !include-raw: ./daisy4nfv-workspace-cleanup.sh
200 #####################################
202 #####################################
204 name: 'daisy4nfv-merge-defaults'
207 name: BUILD_DIRECTORY
208 default: $WORKSPACE/build_output
209 description: "Directory where the build artifact will be located upon the completion of the build."
211 name: CACHE_DIRECTORY
212 default: $HOME/opnfv/cache/$INSTALLER_TYPE
213 description: "Directory where the cache to be used during the build is located."
216 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
217 description: "URL to Google Storage."