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: 'fuel-virtual'
30 slave-label: 'fuel-virtual'
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}'
56 use-build-blocker: true
58 - 'fuel-verify-master'
59 - 'fuel-verify-colorado'
64 credentials-id: '{ssh-credentials}'
65 refspec: '$GERRIT_REFSPEC'
66 choosing-strategy: 'gerrit'
69 - ssh-agent-credentials:
79 - patchset-created-event:
80 exclude-drafts: 'false'
81 exclude-trivial-rebase: 'false'
82 exclude-no-code-change: 'false'
83 - draft-published-event
84 - comment-added-contains-event:
85 comment-contains-value: 'recheck'
86 - comment-added-contains-event:
87 comment-contains-value: 'reverify'
89 - project-compare-type: 'ANT'
90 project-pattern: '{project}'
92 - branch-compare-type: 'ANT'
93 branch-pattern: '**/{branch}'
101 forbidden-file-paths:
104 readable-message: true
111 - 'fuel-virtual-defaults'
112 - 'fuel-verify-defaults':
113 gs-pathname: '{gs-pathname}'
116 - description-setter:
117 description: "Built on $NODE_NAME"
120 condition: SUCCESSFUL
122 - name: 'fuel-verify-basic-{stream}'
123 current-parameters: false
124 predefined-parameters: |
125 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'fuel-verify-build-{stream}'
137 current-parameters: false
138 predefined-parameters: |
139 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'fuel-verify-deploy-virtual-{stream}'
151 current-parameters: false
152 predefined-parameters: |
153 GERRIT_BRANCH=$GERRIT_BRANCH
154 GERRIT_REFSPEC=$GERRIT_REFSPEC
155 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
156 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
157 node-parameters: true
158 kill-phase-on: FAILURE
162 condition: SUCCESSFUL
164 - name: 'fuel-verify-smoke-test-{stream}'
165 current-parameters: false
166 predefined-parameters: |
167 GERRIT_BRANCH=$GERRIT_BRANCH
168 GERRIT_REFSPEC=$GERRIT_REFSPEC
169 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
170 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
171 node-parameters: true
172 kill-phase-on: FAILURE
176 name: 'fuel-verify-{phase}-{stream}'
178 disabled: '{obj:disabled}'
189 use-build-blocker: true
191 - 'fuel-verify-deploy-.*'
192 - 'fuel-verify-test-.*'
196 - gerrit-trigger-scm:
197 credentials-id: '{ssh-credentials}'
198 refspec: '$GERRIT_REFSPEC'
199 choosing-strategy: 'gerrit'
202 - ssh-agent-credentials:
204 - '{ssh-credentials}'
213 - '{slave-label}-defaults'
214 - '{installer}-defaults'
215 - 'fuel-verify-defaults':
216 gs-pathname: '{gs-pathname}'
219 - description-setter:
220 description: "Built on $NODE_NAME"
221 - '{project}-verify-{phase}-macro'
222 #####################################
224 #####################################
226 name: 'fuel-verify-basic-macro'
231 echo "Not activated!"
234 name: 'fuel-verify-build-macro'
237 !include-raw-escape: ./fuel-build.sh
239 !include-raw-escape: ./fuel-workspace-cleanup.sh
242 name: 'fuel-verify-deploy-virtual-macro'
247 echo "Not activated!"
250 name: 'fuel-verify-smoke-test-macro'
255 echo "Not activated!"
256 #####################################
258 #####################################
260 name: 'fuel-verify-defaults'
263 name: BUILD_DIRECTORY
264 default: $WORKSPACE/build_output
265 description: "Directory where the build artifact will be located upon the completion of the build."
267 name: CACHE_DIRECTORY
268 default: $HOME/opnfv/cache/$INSTALLER_TYPE
269 description: "Directory where the cache to be used during the build is located."
272 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
273 description: "URL to Google Storage."