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'
26 slave-label: 'opnfv-build-ubuntu'
28 slave-label: 'opnfv-build'
30 slave-label: 'opnfv-build'
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}'
57 credentials-id: '{ssh-credentials}'
58 refspec: '$GERRIT_REFSPEC'
59 choosing-strategy: 'gerrit'
62 - ssh-agent-credentials:
71 server-name: 'gerrit.opnfv.org'
73 - patchset-created-event:
74 exclude-drafts: 'false'
75 exclude-trivial-rebase: 'false'
76 exclude-no-code-change: 'false'
77 - draft-published-event
78 - comment-added-contains-event:
79 comment-contains-value: 'recheck'
80 - comment-added-contains-event:
81 comment-contains-value: 'reverify'
83 - project-compare-type: 'ANT'
84 project-pattern: '{project}'
86 - branch-compare-type: 'ANT'
87 branch-pattern: '**/{branch}'
98 readable-message: true
105 - 'opnfv-build-defaults'
106 - 'fuel-verify-defaults':
107 gs-pathname: '{gs-pathname}'
110 - description-setter:
111 description: "Built on $NODE_NAME"
114 condition: SUCCESSFUL
116 - name: 'fuel-verify-basic-{stream}'
117 current-parameters: false
118 predefined-parameters: |
119 GERRIT_BRANCH=$GERRIT_BRANCH
120 GERRIT_REFSPEC=$GERRIT_REFSPEC
121 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
122 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
123 node-parameters: false
124 kill-phase-on: FAILURE
128 condition: SUCCESSFUL
130 - name: 'fuel-verify-build-{stream}'
131 current-parameters: false
132 predefined-parameters: |
133 GERRIT_BRANCH=$GERRIT_BRANCH
134 GERRIT_REFSPEC=$GERRIT_REFSPEC
135 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
136 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
137 node-parameters: false
138 kill-phase-on: FAILURE
142 condition: SUCCESSFUL
144 - name: 'fuel-verify-deploy-virtual-{stream}'
145 current-parameters: false
146 predefined-parameters: |
147 GERRIT_BRANCH=$GERRIT_BRANCH
148 GERRIT_REFSPEC=$GERRIT_REFSPEC
149 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
150 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
151 node-parameters: false
152 kill-phase-on: FAILURE
156 condition: SUCCESSFUL
158 - name: 'fuel-verify-smoke-test-{stream}'
159 current-parameters: false
160 predefined-parameters: |
161 GERRIT_BRANCH=$GERRIT_BRANCH
162 GERRIT_REFSPEC=$GERRIT_REFSPEC
163 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
164 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
165 node-parameters: false
166 kill-phase-on: FAILURE
170 name: 'fuel-verify-{phase}-{stream}'
172 disabled: '{obj:disabled}'
182 use-build-blocker: true
184 - 'fuel-verify-deploy-.*'
185 - 'fuel-verify-test-.*'
189 - gerrit-trigger-scm:
190 credentials-id: '{ssh-credentials}'
191 refspec: '$GERRIT_REFSPEC'
192 choosing-strategy: 'gerrit'
195 - ssh-agent-credentials:
197 - '{ssh-credentials}'
206 - '{slave-label}-defaults'
207 - '{installer}-defaults'
208 - 'fuel-verify-defaults':
209 gs-pathname: '{gs-pathname}'
212 - description-setter:
213 description: "Built on $NODE_NAME"
214 - '{project}-verify-{phase}-macro'
215 #####################################
217 #####################################
219 name: 'fuel-verify-basic-macro'
224 echo "Not activated!"
227 name: 'fuel-verify-build-macro'
230 !include-raw: ./fuel-build.sh
232 !include-raw: ./fuel-workspace-cleanup.sh
235 name: 'fuel-verify-deploy-virtual-macro'
240 echo "Not activated!"
243 name: 'fuel-verify-smoke-test-macro'
248 echo "Not activated!"
249 #####################################
251 #####################################
253 name: 'fuel-verify-defaults'
256 name: BUILD_DIRECTORY
257 default: $WORKSPACE/build_output
258 description: "Directory where the build artifact will be located upon the completion of the build."
260 name: CACHE_DIRECTORY
261 default: $HOME/opnfv/cache/$INSTALLER_TYPE
262 description: "Directory where the cache to be used during the build is located."
265 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
266 description: "URL to Google Storage."