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
60 server-name: 'gerrit.opnfv.org'
62 - patchset-created-event:
63 exclude-drafts: 'false'
64 exclude-trivial-rebase: 'false'
65 exclude-no-code-change: 'false'
66 - draft-published-event
67 - comment-added-contains-event:
68 comment-contains-value: 'recheck'
69 - comment-added-contains-event:
70 comment-contains-value: 'reverify'
72 - project-compare-type: 'ANT'
73 project-pattern: '{project}'
75 - branch-compare-type: 'ANT'
76 branch-pattern: '**/{branch}'
79 pattern: 'docs/**|.gitignore'
80 readable-message: true
87 - 'opnfv-build-defaults'
88 - 'daisy4nfv-verify-defaults':
89 gs-pathname: '{gs-pathname}'
93 description: "Built on $NODE_NAME"
98 - name: 'daisy4nfv-verify-basic-{stream}'
99 current-parameters: false
100 predefined-parameters: |
101 GERRIT_BRANCH=$GERRIT_BRANCH
102 GERRIT_REFSPEC=$GERRIT_REFSPEC
103 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
104 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
105 node-parameters: false
106 kill-phase-on: FAILURE
110 condition: SUCCESSFUL
112 - name: 'daisy4nfv-verify-build-{stream}'
113 current-parameters: false
114 predefined-parameters: |
115 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'daisy4nfv-verify-deploy-virtual-{stream}'
127 current-parameters: false
128 predefined-parameters: |
129 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'daisy4nfv-verify-smoke-test-{stream}'
141 current-parameters: false
142 predefined-parameters: |
143 GERRIT_BRANCH=$GERRIT_BRANCH
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 name: 'daisy4nfv-verify-{phase}-{stream}'
154 disabled: '{obj:disabled}'
164 use-build-blocker: true
166 - 'daisy4nfv-verify-deploy-.*'
167 - 'daisy4nfv-verify-test-.*'
184 - '{slave-label}-defaults'
185 - 'daisy4nfv-verify-defaults':
186 gs-pathname: '{gs-pathname}'
189 - description-setter:
190 description: "Built on $NODE_NAME"
191 - '{project}-verify-{phase}-macro'
192 #####################################
194 #####################################
196 name: 'daisy-verify-basic-macro'
199 !include-raw: ./daisy4nfv-basic.sh
202 name: 'daisy-verify-build-macro'
205 !include-raw: ./daisy4nfv-build.sh
208 name: 'daisy-verify-deploy-virtual-macro'
211 !include-raw: ./daisy4nfv-virtual-deploy.sh
214 name: 'daisy-verify-smoke-test-macro'
219 echo "Not activated!"
220 #####################################
222 #####################################
224 name: 'daisy4nfv-verify-defaults'
227 name: BUILD_DIRECTORY
228 default: $WORKSPACE/build_output
229 description: "Directory where the build artifact will be located upon the completion of the build."
231 name: CACHE_DIRECTORY
232 default: $HOME/opnfv/cache/$INSTALLER_TYPE
233 description: "Directory where the cache to be used during the build is located."
236 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
237 description: "URL to Google Storage."