2 name: 'daisy4nfv-merge-jobs'
5 #####################################
7 #####################################
13 #####################################
15 #####################################
18 slave-label: 'opnfv-build-centos'
20 slave-label: 'opnfv-build-centos'
22 slave-label: 'opnfv-build-centos'
24 slave-label: 'opnfv-build-centos'
26 slave-label: 'opnfv-build-centos'
27 #####################################
29 #####################################
31 - 'daisy4nfv-merge-{stream}'
32 - 'daisy4nfv-merge-{phase}-{stream}'
33 #####################################
35 #####################################
37 name: 'daisy4nfv-merge-{stream}'
39 project-type: multijob
63 server-name: 'gerrit.opnfv.org'
66 - comment-added-contains-event:
67 comment-contains-value: 'remerge'
69 - project-compare-type: 'ANT'
70 project-pattern: '{project}'
72 - branch-compare-type: 'ANT'
73 branch-pattern: '**/{branch}'
76 pattern: 'docs/**|.gitignore'
77 readable-message: true
84 - 'opnfv-build-defaults'
85 - 'daisy4nfv-merge-defaults':
86 gs-pathname: '{gs-pathname}'
90 description: "Built on $NODE_NAME"
95 - name: 'daisy4nfv-merge-basic-{stream}'
96 current-parameters: false
97 predefined-parameters: |
98 GERRIT_BRANCH=$GERRIT_BRANCH
99 GERRIT_REFSPEC=$GERRIT_REFSPEC
100 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
101 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
102 node-parameters: false
103 kill-phase-on: FAILURE
107 condition: SUCCESSFUL
109 - name: 'daisy4nfv-merge-build-{stream}'
110 current-parameters: false
111 predefined-parameters: |
112 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'daisy4nfv-merge-deploy-virtual-{stream}'
124 current-parameters: false
125 predefined-parameters: |
126 GERRIT_BRANCH=$GERRIT_BRANCH
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 condition: SUCCESSFUL
137 - name: 'daisy4nfv-merge-smoke-test-{stream}'
138 current-parameters: false
139 predefined-parameters: |
140 GERRIT_BRANCH=$GERRIT_BRANCH
141 GERRIT_REFSPEC=$GERRIT_REFSPEC
142 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
143 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
144 node-parameters: false
145 kill-phase-on: FAILURE
149 condition: SUCCESSFUL
151 - name: 'daisy4nfv-merge-promote-{stream}'
152 current-parameters: false
153 predefined-parameters: |
154 GERRIT_BRANCH=$GERRIT_BRANCH
155 GERRIT_REFSPEC=$GERRIT_REFSPEC
156 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
157 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
158 node-parameters: false
159 kill-phase-on: FAILURE
163 name: 'daisy4nfv-merge-{phase}-{stream}'
165 disabled: '{obj:disabled}'
176 use-build-blocker: true
178 - 'daisy4nfv-merge-deploy-.*'
179 - 'daisy4nfv-merge-test-.*'
196 - '{slave-label}-defaults'
197 - 'daisy4nfv-merge-defaults':
198 gs-pathname: '{gs-pathname}'
201 - description-setter:
202 description: "Built on $NODE_NAME"
203 - '{project}-merge-{phase}-macro'
204 #####################################
206 #####################################
208 name: 'daisy-merge-basic-macro'
211 !include-raw: ./daisy4nfv-basic.sh
214 name: 'daisy-merge-build-macro'
218 - ./daisy4nfv-build.sh
219 - ./daisy4nfv-upload-artifact.sh
220 - ./daisy4nfv-workspace-cleanup.sh
223 name: 'daisy-merge-deploy-virtual-macro'
227 - ./daisy4nfv-download-artifact.sh
228 - ./daisy4nfv-virtual-deploy.sh
229 - ./daisy4nfv-workspace-cleanup.sh
232 name: 'daisy-merge-smoke-test-macro'
237 echo "Not activated!"
240 name: 'daisy-merge-promote-macro'
245 echo "Not activated!"
246 #####################################
248 #####################################
250 name: 'daisy4nfv-merge-defaults'
253 name: BUILD_DIRECTORY
254 default: $WORKSPACE/build_output
255 description: "Directory where the build artifact will be located upon the completion of the build."
257 name: CACHE_DIRECTORY
258 default: $HOME/opnfv/cache/$INSTALLER_TYPE
259 description: "Directory where the cache to be used during the build is located."
262 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
263 description: "URL to Google Storage."