2 name: 'daisy4nfv-verify-jobs'
5 #####################################
7 #####################################
13 #####################################
14 # patch verification phases
15 #####################################
18 slave-label: 'opnfv-build'
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:
66 - patchset-created-event:
67 exclude-drafts: 'false'
68 exclude-trivial-rebase: 'false'
69 exclude-no-code-change: 'false'
70 - draft-published-event
71 - comment-added-contains-event:
72 comment-contains-value: 'recheck'
73 - comment-added-contains-event:
74 comment-contains-value: 'reverify'
76 - project-compare-type: 'ANT'
77 project-pattern: '{project}'
79 - branch-compare-type: 'ANT'
80 branch-pattern: '**/{branch}'
83 pattern: 'docs/**|.gitignore'
84 readable-message: true
91 - 'opnfv-build-defaults'
92 - 'daisy4nfv-verify-defaults':
93 gs-pathname: '{gs-pathname}'
97 description: "Built on $NODE_NAME"
100 condition: SUCCESSFUL
102 - name: 'daisy4nfv-verify-basic-{stream}'
103 current-parameters: false
104 predefined-parameters: |
105 GERRIT_BRANCH=$GERRIT_BRANCH
106 GERRIT_REFSPEC=$GERRIT_REFSPEC
107 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
108 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
109 node-parameters: false
110 kill-phase-on: FAILURE
114 condition: SUCCESSFUL
116 - name: 'daisy4nfv-verify-build-{stream}'
117 current-parameters: false
118 predefined-parameters: |
119 GERRIT_BRANCH=$GERRIT_BRANCH
120 GERRIT_REFSPEC=$GERRIT_REFSPEC
121 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
122 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
123 node-parameters: false
124 kill-phase-on: FAILURE
128 condition: SUCCESSFUL
130 - name: 'daisy4nfv-verify-deploy-virtual-{stream}'
131 current-parameters: false
132 predefined-parameters: |
133 GERRIT_BRANCH=$GERRIT_BRANCH
134 GERRIT_REFSPEC=$GERRIT_REFSPEC
135 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
136 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
137 node-parameters: false
138 kill-phase-on: FAILURE
142 condition: SUCCESSFUL
144 - name: 'daisy4nfv-verify-smoke-test-{stream}'
145 current-parameters: false
146 predefined-parameters: |
147 GERRIT_BRANCH=$GERRIT_BRANCH
148 GERRIT_REFSPEC=$GERRIT_REFSPEC
149 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
150 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
151 node-parameters: false
152 kill-phase-on: FAILURE
156 name: 'daisy4nfv-verify-{phase}-{stream}'
158 disabled: '{obj:disabled}'
168 use-build-blocker: true
170 - 'daisy4nfv-verify-deploy-.*'
171 - 'daisy4nfv-verify-test-.*'
175 - gerrit-trigger-scm:
176 credentials-id: '{ssh-credentials}'
177 refspec: '$GERRIT_REFSPEC'
178 choosing-strategy: 'gerrit'
181 - ssh-agent-credentials:
183 - '{ssh-credentials}'
193 - '{slave-label}-defaults'
194 - 'daisy4nfv-verify-defaults':
195 gs-pathname: '{gs-pathname}'
198 - description-setter:
199 description: "Built on $NODE_NAME"
200 - '{project}-verify-{phase}-macro'
201 #####################################
203 #####################################
205 name: 'daisy-verify-basic-macro'
208 !include-raw: ./daisy4nfv-basic.sh
211 name: 'daisy-verify-build-macro'
214 !include-raw: ./daisy4nfv-build.sh
217 name: 'daisy-verify-deploy-virtual-macro'
220 !include-raw: ./daisy4nfv-virtual-deploy.sh
223 name: 'daisy-verify-smoke-test-macro'
228 echo "Not activated!"
229 #####################################
231 #####################################
233 name: 'daisy4nfv-verify-defaults'
236 name: BUILD_DIRECTORY
237 default: $WORKSPACE/build_output
238 description: "Directory where the build artifact will be located upon the completion of the build."
240 name: CACHE_DIRECTORY
241 default: $HOME/opnfv/cache/$INSTALLER_TYPE
242 description: "Directory where the cache to be used during the build is located."
245 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
246 description: "URL to Google Storage."