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|verify)-.*'
152 - '{project}-daily-.*'
168 - '{slave-label}-defaults'
169 - '{alias}-merge-defaults':
170 gs-pathname: '{gs-pathname}'
173 - description-setter:
174 description: "Built on $NODE_NAME"
175 - '{project}-merge-{phase}-macro'
177 #####################################
179 #####################################
181 name: 'daisy-merge-build-macro'
184 !include-raw: ./daisy4nfv-basic.sh
186 !include-raw: ./daisy4nfv-build.sh
188 !include-raw: ./daisy4nfv-upload-artifact.sh
190 !include-raw: ./daisy4nfv-workspace-cleanup.sh
193 name: 'daisy-merge-deploy-virtual-macro'
196 !include-raw: ./daisy4nfv-download-artifact.sh
198 !include-raw: ./daisy-deploy.sh
200 !include-raw: ./daisy4nfv-workspace-cleanup.sh
202 #####################################
204 #####################################
206 name: 'daisy4nfv-merge-defaults'
209 name: BUILD_DIRECTORY
210 default: $WORKSPACE/build_output
211 description: "Directory where the build artifact will be located upon the completion of the build."
213 name: CACHE_DIRECTORY
214 default: $HOME/opnfv/cache/$INSTALLER_TYPE
215 description: "Directory where the cache to be used during the build is located."
218 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
219 description: "URL to Google Storage."