3 name: 'daisy4nfv-merge-jobs'
9 ###########################################################
10 # use alias to keep the jobs'name existed already unchanged
11 ###########################################################
14 #####################################
16 #####################################
23 branch: 'stable/{stream}'
24 gs-pathname: '/{stream}'
26 #####################################
28 #####################################
31 slave-label: 'opnfv-build-centos'
33 slave-label: 'daisy-virtual'
35 #####################################
37 #####################################
39 - '{alias}-merge-{stream}'
40 - '{alias}-merge-{phase}-{stream}'
42 #####################################
44 #####################################
46 name: '{alias}-merge-{stream}'
48 project-type: multijob
61 use-build-blocker: true
63 - '{alias}-merge-(master|fraser)'
64 blocking-level: 'NODE'
77 server-name: 'gerrit.opnfv.org'
80 - comment-added-contains-event:
81 comment-contains-value: 'remerge'
83 - project-compare-type: 'ANT'
84 project-pattern: '{project}'
86 - branch-compare-type: 'ANT'
87 branch-pattern: '**/{branch}'
95 disable-strict-forbidden-file-verification: 'true'
100 pattern: '.gitignore'
101 readable-message: true
107 - 'opnfv-build-centos-defaults'
108 - '{alias}-merge-defaults':
109 gs-pathname: '{gs-pathname}'
112 - description-setter:
113 description: "Built on $NODE_NAME"
116 condition: SUCCESSFUL
118 - name: '{alias}-merge-build-{stream}'
119 current-parameters: false
120 predefined-parameters: |
122 GERRIT_REFSPEC=$GERRIT_REFSPEC
123 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
124 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
125 node-parameters: false
126 kill-phase-on: FAILURE
130 condition: SUCCESSFUL
132 - name: '{alias}-merge-deploy-virtual-{stream}'
133 current-parameters: false
134 predefined-parameters: |
136 GERRIT_REFSPEC=$GERRIT_REFSPEC
137 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
138 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
139 node-parameters: false
140 kill-phase-on: FAILURE
144 name: '{alias}-merge-{phase}-{stream}'
146 disabled: '{obj:disabled}'
157 use-build-blocker: true
159 - '{alias}-merge-{phase}-.*'
160 - '{installer}-daily-.*'
161 blocking-level: 'NODE'
176 - '{installer}-defaults'
177 - '{slave-label}-defaults'
178 - '{alias}-merge-defaults':
179 gs-pathname: '{gs-pathname}'
182 - description-setter:
183 description: "Built on $NODE_NAME"
184 - '{project}-merge-{phase}-macro'
186 #####################################
188 #####################################
190 name: 'daisy-merge-build-macro'
193 !include-raw: ./daisy4nfv-basic.sh
195 !include-raw: ./daisy4nfv-build.sh
197 !include-raw: ./daisy4nfv-upload-artifact.sh
201 name: 'daisy-merge-deploy-virtual-macro'
204 !include-raw: ./daisy4nfv-download-artifact.sh
206 !include-raw: ./daisy-deploy.sh
209 #####################################
211 #####################################
213 name: 'daisy4nfv-merge-defaults'
216 name: BUILD_DIRECTORY
217 default: $WORKSPACE/build_output
218 description: "Directory where the build artifact will be located upon the completion of the build."
220 name: CACHE_DIRECTORY
221 default: $HOME/opnfv/cache/$INSTALLER_TYPE
222 description: "Directory where the cache to be used during the build is located."
225 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
226 description: "URL to Google Storage."