2 name: 'daisy4nfv-verify-jobs'
5 ##########################################################
6 # use alias to keep the jobs'name existed alread unchanged
7 ##########################################################
10 #####################################
12 #####################################
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
22 #####################################
23 # patch verification phases
24 #####################################
27 slave-label: 'opnfv-build'
29 slave-label: 'opnfv-build-centos'
30 #####################################
32 #####################################
34 - '{alias}-verify-{stream}'
35 - '{alias}-verify-{phase}-{stream}'
36 #####################################
38 #####################################
40 name: '{alias}-verify-{stream}'
41 project-type: multijob
51 use-build-blocker: true
53 - '{installer}-merge-build-.*'
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}'
89 disable-strict-forbidden-file-verification: 'true'
95 readable-message: true
101 - 'opnfv-build-centos-defaults'
102 - '{alias}-verify-defaults':
103 gs-pathname: '{gs-pathname}'
106 - description-setter:
107 description: "Built on $NODE_NAME"
110 condition: SUCCESSFUL
112 - name: '{alias}-verify-unit-{stream}'
113 current-parameters: false
114 predefined-parameters: |
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: '{alias}-verify-build-{stream}'
127 current-parameters: false
128 predefined-parameters: |
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 name: '{alias}-verify-{phase}-{stream}'
139 disabled: '{obj:disabled}'
148 use-build-blocker: true
150 - '{installer}-merge-build-.*'
151 - '{alias}-verify-build-.*'
165 - '{installer}-defaults'
166 - '{slave-label}-defaults'
167 - '{alias}-verify-defaults':
168 gs-pathname: '{gs-pathname}'
171 - description-setter:
172 description: "Built on $NODE_NAME"
173 - '{project}-verify-{phase}-macro'
175 #####################################
177 #####################################
179 name: 'daisy-verify-build-macro'
182 !include-raw: ./daisy4nfv-basic.sh
184 !include-raw: ./daisy4nfv-build.sh
186 !include-raw: ./daisy4nfv-workspace-cleanup.sh
189 name: daisy-verify-unit-macro
198 #####################################
200 #####################################
202 name: 'daisy4nfv-verify-defaults'
205 name: BUILD_DIRECTORY
206 default: $WORKSPACE/build_output
207 description: "Directory where the build artifact will be located upon the completion of the build."
209 name: CACHE_DIRECTORY
210 default: $HOME/opnfv/cache/$INSTALLER_TYPE
211 description: "Directory where the cache to be used during the build is located."
214 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
215 description: "URL to Google Storage."