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}'
91 disable-strict-forbidden-file-verification: 'true'
95 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: |
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: |
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: |
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: |
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-.*'
197 - '{slave-label}-defaults'
198 - '{installer}-defaults'
199 - 'fuel-verify-defaults':
200 gs-pathname: '{gs-pathname}'
203 - description-setter:
204 description: "Built on $NODE_NAME"
205 - '{project}-verify-{phase}-macro'
206 #####################################
208 #####################################
210 name: 'fuel-verify-basic-macro'
215 echo "Not activated!"
218 name: 'fuel-verify-build-macro'
221 !include-raw: ./fuel-build.sh
223 !include-raw: ./fuel-workspace-cleanup.sh
226 name: 'fuel-verify-deploy-virtual-macro'
231 echo "Not activated!"
234 name: 'fuel-verify-smoke-test-macro'
239 echo "Not activated!"
240 #####################################
242 #####################################
244 name: 'fuel-verify-defaults'
247 name: BUILD_DIRECTORY
248 default: $WORKSPACE/build_output
249 description: "Directory where the build artifact will be located upon the completion of the build."
251 name: CACHE_DIRECTORY
252 default: $HOME/opnfv/cache/$INSTALLER_TYPE
253 description: "Directory where the cache to be used during the build is located."
256 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
257 description: "URL to Google Storage."