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:
72 - patchset-created-event:
73 exclude-drafts: 'false'
74 exclude-trivial-rebase: 'false'
75 exclude-no-code-change: 'false'
76 - draft-published-event
77 - comment-added-contains-event:
78 comment-contains-value: 'recheck'
79 - comment-added-contains-event:
80 comment-contains-value: 'reverify'
82 - project-compare-type: 'ANT'
83 project-pattern: '{project}'
85 - branch-compare-type: 'ANT'
86 branch-pattern: '**/{branch}'
97 readable-message: true
104 - 'opnfv-build-defaults'
105 - 'fuel-verify-defaults':
106 gs-pathname: '{gs-pathname}'
109 - description-setter:
110 description: "Built on $NODE_NAME"
113 condition: SUCCESSFUL
115 - name: 'fuel-verify-basic-{stream}'
116 current-parameters: false
117 predefined-parameters: |
118 GERRIT_BRANCH=$GERRIT_BRANCH
119 GERRIT_REFSPEC=$GERRIT_REFSPEC
120 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
121 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
122 node-parameters: false
123 kill-phase-on: FAILURE
127 condition: SUCCESSFUL
129 - name: 'fuel-verify-build-{stream}'
130 current-parameters: false
131 predefined-parameters: |
132 GERRIT_BRANCH=$GERRIT_BRANCH
133 GERRIT_REFSPEC=$GERRIT_REFSPEC
134 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
135 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
136 node-parameters: false
137 kill-phase-on: FAILURE
141 condition: SUCCESSFUL
143 - name: 'fuel-verify-deploy-virtual-{stream}'
144 current-parameters: false
145 predefined-parameters: |
146 GERRIT_BRANCH=$GERRIT_BRANCH
147 GERRIT_REFSPEC=$GERRIT_REFSPEC
148 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
149 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
150 node-parameters: false
151 kill-phase-on: FAILURE
155 condition: SUCCESSFUL
157 - name: 'fuel-verify-smoke-test-{stream}'
158 current-parameters: false
159 predefined-parameters: |
160 GERRIT_BRANCH=$GERRIT_BRANCH
161 GERRIT_REFSPEC=$GERRIT_REFSPEC
162 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
163 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
164 node-parameters: false
165 kill-phase-on: FAILURE
169 name: 'fuel-verify-{phase}-{stream}'
171 disabled: '{obj:disabled}'
181 use-build-blocker: true
183 - 'fuel-verify-deploy-.*'
184 - 'fuel-verify-test-.*'
188 - gerrit-trigger-scm:
189 credentials-id: '{ssh-credentials}'
190 refspec: '$GERRIT_REFSPEC'
191 choosing-strategy: 'gerrit'
194 - ssh-agent-credentials:
196 - '{ssh-credentials}'
205 - '{slave-label}-defaults'
206 - '{installer}-defaults'
207 - 'fuel-verify-defaults':
208 gs-pathname: '{gs-pathname}'
211 - description-setter:
212 description: "Built on $NODE_NAME"
213 - '{project}-verify-{phase}-macro'
214 #####################################
216 #####################################
218 name: 'fuel-verify-basic-macro'
223 echo "Not activated!"
226 name: 'fuel-verify-build-macro'
229 !include-raw: ./fuel-build.sh
231 !include-raw: ./fuel-workspace-cleanup.sh
234 name: 'fuel-verify-deploy-virtual-macro'
239 echo "Not activated!"
242 name: 'fuel-verify-smoke-test-macro'
247 echo "Not activated!"
248 #####################################
250 #####################################
252 name: 'fuel-verify-defaults'
255 name: BUILD_DIRECTORY
256 default: $WORKSPACE/build_output
257 description: "Directory where the build artifact will be located upon the completion of the build."
259 name: CACHE_DIRECTORY
260 default: $HOME/opnfv/cache/$INSTALLER_TYPE
261 description: "Directory where the cache to be used during the build is located."
264 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
265 description: "URL to Google Storage."