2 name: 'daisy4nfv-verify-jobs'
5 #####################################
7 #####################################
13 #####################################
14 # patch verification phases
15 #####################################
18 slave-label: 'opnfv-build-centos'
20 slave-label: 'opnfv-build-centos'
22 slave-label: 'opnfv-build'
24 slave-label: 'opnfv-build'
25 #####################################
27 #####################################
29 - 'daisy4nfv-verify-{stream}'
30 - 'daisy4nfv-verify-{phase}-{stream}'
31 #####################################
33 #####################################
35 name: 'daisy4nfv-verify-{stream}'
37 project-type: multijob
61 server-name: 'gerrit.opnfv.org'
63 - patchset-created-event:
64 exclude-drafts: 'false'
65 exclude-trivial-rebase: 'false'
66 exclude-no-code-change: 'false'
67 - draft-published-event
68 - comment-added-contains-event:
69 comment-contains-value: 'recheck'
70 - comment-added-contains-event:
71 comment-contains-value: 'reverify'
73 - project-compare-type: 'ANT'
74 project-pattern: '{project}'
76 - branch-compare-type: 'ANT'
77 branch-pattern: '**/{branch}'
80 pattern: 'docs/**|.gitignore'
81 readable-message: true
88 - 'opnfv-build-defaults'
89 - 'daisy4nfv-verify-defaults':
90 gs-pathname: '{gs-pathname}'
94 description: "Built on $NODE_NAME"
99 - name: 'daisy4nfv-verify-basic-{stream}'
100 current-parameters: false
101 predefined-parameters: |
102 GERRIT_BRANCH=$GERRIT_BRANCH
103 GERRIT_REFSPEC=$GERRIT_REFSPEC
104 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
105 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
106 node-parameters: false
107 kill-phase-on: FAILURE
111 condition: SUCCESSFUL
113 - name: 'daisy4nfv-verify-build-{stream}'
114 current-parameters: false
115 predefined-parameters: |
116 GERRIT_BRANCH=$GERRIT_BRANCH
117 GERRIT_REFSPEC=$GERRIT_REFSPEC
118 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
119 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
120 node-parameters: false
121 kill-phase-on: FAILURE
125 condition: SUCCESSFUL
127 - name: 'daisy4nfv-verify-deploy-virtual-{stream}'
128 current-parameters: false
129 predefined-parameters: |
130 GERRIT_BRANCH=$GERRIT_BRANCH
131 GERRIT_REFSPEC=$GERRIT_REFSPEC
132 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
133 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
134 node-parameters: false
135 kill-phase-on: FAILURE
139 condition: SUCCESSFUL
141 - name: 'daisy4nfv-verify-smoke-test-{stream}'
142 current-parameters: false
143 predefined-parameters: |
144 GERRIT_BRANCH=$GERRIT_BRANCH
145 GERRIT_REFSPEC=$GERRIT_REFSPEC
146 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
147 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
148 node-parameters: false
149 kill-phase-on: FAILURE
153 name: 'daisy4nfv-verify-{phase}-{stream}'
155 disabled: '{obj:disabled}'
166 use-build-blocker: true
168 - 'daisy4nfv-verify-deploy-.*'
169 - 'daisy4nfv-verify-test-.*'
186 - '{slave-label}-defaults'
187 - 'daisy4nfv-verify-defaults':
188 gs-pathname: '{gs-pathname}'
191 - description-setter:
192 description: "Built on $NODE_NAME"
193 - '{project}-verify-{phase}-macro'
194 #####################################
196 #####################################
198 name: 'daisy-verify-basic-macro'
201 !include-raw: ./daisy4nfv-basic.sh
204 name: 'daisy-verify-build-macro'
207 !include-raw: ./daisy4nfv-build.sh
210 name: 'daisy-verify-deploy-virtual-macro'
213 !include-raw: ./daisy4nfv-virtual-deploy.sh
216 name: 'daisy-verify-smoke-test-macro'
221 echo "Not activated!"
222 #####################################
224 #####################################
226 name: 'daisy4nfv-verify-defaults'
229 name: BUILD_DIRECTORY
230 default: $WORKSPACE/build_output
231 description: "Directory where the build artifact will be located upon the completion of the build."
233 name: CACHE_DIRECTORY
234 default: $HOME/opnfv/cache/$INSTALLER_TYPE
235 description: "Directory where the cache to be used during the build is located."
238 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
239 description: "URL to Google Storage."