2 name: 'fuel-verify-jobs'
7 #####################################
9 #####################################
16 branch: 'stable/{stream}'
17 gs-pathname: '/{stream}'
19 #####################################
20 # patch verification phases
21 #####################################
24 slave-label: 'opnfv-build-ubuntu'
26 slave-label: 'opnfv-build-ubuntu'
28 slave-label: 'opnfv-build-ubuntu'
30 slave-label: 'opnfv-build-ubuntu'
31 #####################################
33 #####################################
35 - 'fuel-verify-{stream}'
36 - 'fuel-verify-{phase}-{stream}'
37 #####################################
39 #####################################
41 name: 'fuel-verify-{stream}'
43 project-type: multijob
45 disabled: '{obj:disabled}'
67 server-name: 'gerrit.opnfv.org'
69 - patchset-created-event:
70 exclude-drafts: 'false'
71 exclude-trivial-rebase: 'false'
72 exclude-no-code-change: 'false'
73 - draft-published-event
74 - comment-added-contains-event:
75 comment-contains-value: 'recheck'
76 - comment-added-contains-event:
77 comment-contains-value: 'reverify'
79 - project-compare-type: 'ANT'
80 project-pattern: '{project}'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/{branch}'
94 readable-message: true
100 - 'opnfv-build-ubuntu-defaults'
101 - 'fuel-verify-defaults':
102 gs-pathname: '{gs-pathname}'
105 - description-setter:
106 description: "Built on $NODE_NAME"
109 condition: SUCCESSFUL
111 - name: 'fuel-verify-basic-{stream}'
112 current-parameters: false
113 predefined-parameters: |
115 GERRIT_REFSPEC=$GERRIT_REFSPEC
116 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
117 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
118 node-parameters: false
119 kill-phase-on: FAILURE
123 condition: SUCCESSFUL
125 - name: 'fuel-verify-build-{stream}'
126 current-parameters: false
127 predefined-parameters: |
129 GERRIT_REFSPEC=$GERRIT_REFSPEC
130 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
131 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
132 node-parameters: false
133 kill-phase-on: FAILURE
137 condition: SUCCESSFUL
139 - name: 'fuel-verify-deploy-virtual-{stream}'
140 current-parameters: false
141 predefined-parameters: |
143 GERRIT_REFSPEC=$GERRIT_REFSPEC
144 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
145 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
146 node-parameters: false
147 kill-phase-on: FAILURE
151 condition: SUCCESSFUL
153 - name: 'fuel-verify-smoke-test-{stream}'
154 current-parameters: false
155 predefined-parameters: |
157 GERRIT_REFSPEC=$GERRIT_REFSPEC
158 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
159 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
160 node-parameters: false
161 kill-phase-on: FAILURE
165 name: 'fuel-verify-{phase}-{stream}'
167 disabled: '{obj:disabled}'
178 use-build-blocker: true
180 - 'fuel-verify-deploy-.*'
181 - 'fuel-verify-test-.*'
196 - '{slave-label}-defaults'
197 - '{installer}-defaults'
198 - 'fuel-verify-defaults':
199 gs-pathname: '{gs-pathname}'
202 - description-setter:
203 description: "Built on $NODE_NAME"
204 - '{project}-verify-{phase}-macro'
205 #####################################
207 #####################################
209 name: 'fuel-verify-basic-macro'
214 echo "Not activated!"
217 name: 'fuel-verify-build-macro'
220 !include-raw: ./fuel-build.sh
222 !include-raw: ./fuel-workspace-cleanup.sh
225 name: 'fuel-verify-deploy-virtual-macro'
230 echo "Not activated!"
233 name: 'fuel-verify-smoke-test-macro'
238 echo "Not activated!"
239 #####################################
241 #####################################
243 name: 'fuel-verify-defaults'
246 name: BUILD_DIRECTORY
247 default: $WORKSPACE/build_output
248 description: "Directory where the build artifact will be located upon the completion of the build."
250 name: CACHE_DIRECTORY
251 default: $HOME/opnfv/cache/$INSTALLER_TYPE
252 description: "Directory where the cache to be used during the build is located."
255 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
256 description: "URL to Google Storage."