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
83 - 'opnfv-build-defaults'
84 - 'daisy4nfv-merge-defaults':
85 gs-pathname: '{gs-pathname}'
89 description: "Built on $NODE_NAME"
94 - name: 'daisy4nfv-merge-basic-{stream}'
95 current-parameters: false
96 predefined-parameters: |
98 GERRIT_REFSPEC=$GERRIT_REFSPEC
99 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
100 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
101 node-parameters: false
102 kill-phase-on: FAILURE
106 condition: SUCCESSFUL
108 - name: 'daisy4nfv-merge-build-{stream}'
109 current-parameters: false
110 predefined-parameters: |
112 GERRIT_REFSPEC=$GERRIT_REFSPEC
113 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
114 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
115 node-parameters: false
116 kill-phase-on: FAILURE
120 condition: SUCCESSFUL
122 - name: 'daisy4nfv-merge-deploy-virtual-{stream}'
123 current-parameters: false
124 predefined-parameters: |
126 GERRIT_REFSPEC=$GERRIT_REFSPEC
127 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
128 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
129 node-parameters: false
130 kill-phase-on: FAILURE
134 condition: SUCCESSFUL
136 - name: 'daisy4nfv-merge-smoke-test-{stream}'
137 current-parameters: false
138 predefined-parameters: |
140 GERRIT_REFSPEC=$GERRIT_REFSPEC
141 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
142 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
143 node-parameters: false
144 kill-phase-on: FAILURE
148 condition: SUCCESSFUL
150 - name: 'daisy4nfv-merge-promote-{stream}'
151 current-parameters: false
152 predefined-parameters: |
154 GERRIT_REFSPEC=$GERRIT_REFSPEC
155 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
156 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
157 node-parameters: false
158 kill-phase-on: FAILURE
162 name: 'daisy4nfv-merge-{phase}-{stream}'
164 disabled: '{obj:disabled}'
175 use-build-blocker: true
177 - 'daisy4nfv-merge-deploy-.*'
178 - 'daisy4nfv-merge-test-.*'
194 - '{slave-label}-defaults'
195 - 'daisy4nfv-merge-defaults':
196 gs-pathname: '{gs-pathname}'
199 - description-setter:
200 description: "Built on $NODE_NAME"
201 - '{project}-merge-{phase}-macro'
202 #####################################
204 #####################################
206 name: 'daisy-merge-basic-macro'
209 !include-raw: ./daisy4nfv-basic.sh
212 name: 'daisy-merge-build-macro'
216 - ./daisy4nfv-build.sh
217 - ./daisy4nfv-upload-artifact.sh
218 - ./daisy4nfv-workspace-cleanup.sh
221 name: 'daisy-merge-deploy-virtual-macro'
225 - ./daisy4nfv-download-artifact.sh
226 - ./daisy4nfv-virtual-deploy.sh
227 - ./daisy4nfv-workspace-cleanup.sh
230 name: 'daisy-merge-smoke-test-macro'
235 echo "Not activated!"
238 name: 'daisy-merge-promote-macro'
243 echo "Not activated!"
244 #####################################
246 #####################################
248 name: 'daisy4nfv-merge-defaults'
251 name: BUILD_DIRECTORY
252 default: $WORKSPACE/build_output
253 description: "Directory where the build artifact will be located upon the completion of the build."
255 name: CACHE_DIRECTORY
256 default: $HOME/opnfv/cache/$INSTALLER_TYPE
257 description: "Directory where the cache to be used during the build is located."
260 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
261 description: "URL to Google Storage."