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
101 - 'opnfv-build-ubuntu-defaults'
102 - 'fuel-verify-defaults':
103 gs-pathname: '{gs-pathname}'
106 - description-setter:
107 description: "Built on $NODE_NAME"
110 condition: SUCCESSFUL
112 - name: 'fuel-verify-basic-{stream}'
113 current-parameters: false
114 predefined-parameters: |
115 GERRIT_BRANCH=$GERRIT_BRANCH
116 GERRIT_REFSPEC=$GERRIT_REFSPEC
117 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
118 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
119 node-parameters: false
120 kill-phase-on: FAILURE
124 condition: SUCCESSFUL
126 - name: 'fuel-verify-build-{stream}'
127 current-parameters: false
128 predefined-parameters: |
129 GERRIT_BRANCH=$GERRIT_BRANCH
130 GERRIT_REFSPEC=$GERRIT_REFSPEC
131 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
132 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
133 node-parameters: false
134 kill-phase-on: FAILURE
138 condition: SUCCESSFUL
140 - name: 'fuel-verify-deploy-virtual-{stream}'
141 current-parameters: false
142 predefined-parameters: |
143 GERRIT_BRANCH=$GERRIT_BRANCH
144 GERRIT_REFSPEC=$GERRIT_REFSPEC
145 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
146 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
147 node-parameters: false
148 kill-phase-on: FAILURE
152 condition: SUCCESSFUL
154 - name: 'fuel-verify-smoke-test-{stream}'
155 current-parameters: false
156 predefined-parameters: |
157 GERRIT_BRANCH=$GERRIT_BRANCH
158 GERRIT_REFSPEC=$GERRIT_REFSPEC
159 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
160 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
161 node-parameters: false
162 kill-phase-on: FAILURE
166 name: 'fuel-verify-{phase}-{stream}'
168 disabled: '{obj:disabled}'
179 use-build-blocker: true
181 - 'fuel-verify-deploy-.*'
182 - 'fuel-verify-test-.*'
198 - '{slave-label}-defaults'
199 - '{installer}-defaults'
200 - 'fuel-verify-defaults':
201 gs-pathname: '{gs-pathname}'
204 - description-setter:
205 description: "Built on $NODE_NAME"
206 - '{project}-verify-{phase}-macro'
207 #####################################
209 #####################################
211 name: 'fuel-verify-basic-macro'
216 echo "Not activated!"
219 name: 'fuel-verify-build-macro'
222 !include-raw: ./fuel-build.sh
224 !include-raw: ./fuel-workspace-cleanup.sh
227 name: 'fuel-verify-deploy-virtual-macro'
232 echo "Not activated!"
235 name: 'fuel-verify-smoke-test-macro'
240 echo "Not activated!"
241 #####################################
243 #####################################
245 name: 'fuel-verify-defaults'
248 name: BUILD_DIRECTORY
249 default: $WORKSPACE/build_output
250 description: "Directory where the build artifact will be located upon the completion of the build."
252 name: CACHE_DIRECTORY
253 default: $HOME/opnfv/cache/$INSTALLER_TYPE
254 description: "Directory where the cache to be used during the build is located."
257 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
258 description: "URL to Google Storage."