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
51 credentials-id: '{ssh-credentials}'
52 refspec: '$GERRIT_REFSPEC'
53 choosing-strategy: 'gerrit'
56 - ssh-agent-credentials:
65 server-name: 'gerrit.opnfv.org'
67 - patchset-created-event:
68 exclude-drafts: 'false'
69 exclude-trivial-rebase: 'false'
70 exclude-no-code-change: 'false'
71 - draft-published-event
72 - comment-added-contains-event:
73 comment-contains-value: 'recheck'
74 - comment-added-contains-event:
75 comment-contains-value: 'reverify'
77 - project-compare-type: 'ANT'
78 project-pattern: '{project}'
80 - branch-compare-type: 'ANT'
81 branch-pattern: '**/{branch}'
84 pattern: 'docs/**|.gitignore'
85 readable-message: true
92 - 'opnfv-build-defaults'
93 - 'daisy4nfv-verify-defaults':
94 gs-pathname: '{gs-pathname}'
98 description: "Built on $NODE_NAME"
101 condition: SUCCESSFUL
103 - name: 'daisy4nfv-verify-basic-{stream}'
104 current-parameters: false
105 predefined-parameters: |
106 GERRIT_BRANCH=$GERRIT_BRANCH
107 GERRIT_REFSPEC=$GERRIT_REFSPEC
108 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
109 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
110 node-parameters: false
111 kill-phase-on: FAILURE
115 condition: SUCCESSFUL
117 - name: 'daisy4nfv-verify-build-{stream}'
118 current-parameters: false
119 predefined-parameters: |
120 GERRIT_BRANCH=$GERRIT_BRANCH
121 GERRIT_REFSPEC=$GERRIT_REFSPEC
122 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
123 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
124 node-parameters: false
125 kill-phase-on: FAILURE
129 condition: SUCCESSFUL
131 - name: 'daisy4nfv-verify-deploy-virtual-{stream}'
132 current-parameters: false
133 predefined-parameters: |
134 GERRIT_BRANCH=$GERRIT_BRANCH
135 GERRIT_REFSPEC=$GERRIT_REFSPEC
136 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
137 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
138 node-parameters: false
139 kill-phase-on: FAILURE
143 condition: SUCCESSFUL
145 - name: 'daisy4nfv-verify-smoke-test-{stream}'
146 current-parameters: false
147 predefined-parameters: |
148 GERRIT_BRANCH=$GERRIT_BRANCH
149 GERRIT_REFSPEC=$GERRIT_REFSPEC
150 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
151 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
152 node-parameters: false
153 kill-phase-on: FAILURE
157 name: 'daisy4nfv-verify-{phase}-{stream}'
159 disabled: '{obj:disabled}'
169 use-build-blocker: true
171 - 'daisy4nfv-verify-deploy-.*'
172 - 'daisy4nfv-verify-test-.*'
176 - gerrit-trigger-scm:
177 credentials-id: '{ssh-credentials}'
178 refspec: '$GERRIT_REFSPEC'
179 choosing-strategy: 'gerrit'
182 - ssh-agent-credentials:
184 - '{ssh-credentials}'
194 - '{slave-label}-defaults'
195 - 'daisy4nfv-verify-defaults':
196 gs-pathname: '{gs-pathname}'
199 - description-setter:
200 description: "Built on $NODE_NAME"
201 - '{project}-verify-{phase}-macro'
202 #####################################
204 #####################################
206 name: 'daisy-verify-basic-macro'
209 !include-raw: ./daisy4nfv-basic.sh
212 name: 'daisy-verify-build-macro'
215 !include-raw: ./daisy4nfv-build.sh
218 name: 'daisy-verify-deploy-virtual-macro'
221 !include-raw: ./daisy4nfv-virtual-deploy.sh
224 name: 'daisy-verify-smoke-test-macro'
229 echo "Not activated!"
230 #####################################
232 #####################################
234 name: 'daisy4nfv-verify-defaults'
237 name: BUILD_DIRECTORY
238 default: $WORKSPACE/build_output
239 description: "Directory where the build artifact will be located upon the completion of the build."
241 name: CACHE_DIRECTORY
242 default: $HOME/opnfv/cache/$INSTALLER_TYPE
243 description: "Directory where the cache to be used during the build is located."
246 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
247 description: "URL to Google Storage."