3 name: 'daisy4nfv-verify-jobs'
6 ##########################################################
7 # use alias to keep the jobs'name existed alread unchanged
8 ##########################################################
11 #####################################
13 #####################################
20 branch: 'stable/{stream}'
21 gs-pathname: '/{stream}'
24 #####################################
25 # patch verification phases
26 #####################################
29 slave-label: 'opnfv-build'
31 slave-label: 'opnfv-build-centos'
33 #####################################
35 #####################################
37 - '{alias}-verify-{stream}'
38 - '{alias}-verify-{phase}-{stream}'
40 #####################################
42 #####################################
44 name: '{alias}-verify-{stream}'
45 project-type: multijob
55 use-build-blocker: true
57 - '{alias}-merge-build-.*'
58 blocking-level: 'NODE'
71 server-name: 'gerrit.opnfv.org'
73 - patchset-created-event:
74 exclude-drafts: 'false'
75 exclude-trivial-rebase: 'false'
76 exclude-no-code-change: 'false'
77 - draft-published-event
78 - comment-added-contains-event:
79 comment-contains-value: 'recheck'
80 - comment-added-contains-event:
81 comment-contains-value: 'reverify'
83 - project-compare-type: 'ANT'
84 project-pattern: '{project}'
86 - branch-compare-type: 'ANT'
87 branch-pattern: '**/{branch}'
97 disable-strict-forbidden-file-verification: 'true'
102 pattern: '.gitignore'
103 readable-message: true
109 - 'opnfv-build-centos-defaults'
110 - '{alias}-verify-defaults':
111 gs-pathname: '{gs-pathname}'
114 - description-setter:
115 description: "Built on $NODE_NAME"
118 condition: SUCCESSFUL
120 - name: '{alias}-verify-unit-{stream}'
121 current-parameters: false
122 predefined-parameters: |
124 GERRIT_REFSPEC=$GERRIT_REFSPEC
125 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
126 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
127 node-parameters: false
128 kill-phase-on: FAILURE
132 condition: SUCCESSFUL
134 - name: '{alias}-verify-build-{stream}'
135 current-parameters: false
136 predefined-parameters: |
138 GERRIT_REFSPEC=$GERRIT_REFSPEC
139 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
140 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
141 node-parameters: false
142 kill-phase-on: FAILURE
146 name: '{alias}-verify-{phase}-{stream}'
147 disabled: '{obj:disabled}'
156 use-build-blocker: true
158 - '{alias}-merge-build-.*'
159 - '{alias}-verify-build-.*'
160 - '{installer}-daily-.*'
161 blocking-level: 'NODE'
176 - '{installer}-defaults'
177 - '{slave-label}-defaults'
178 - '{alias}-verify-defaults':
179 gs-pathname: '{gs-pathname}'
182 - description-setter:
183 description: "Built on $NODE_NAME"
184 - '{project}-verify-{phase}-macro'
186 #####################################
188 #####################################
190 name: 'daisy-verify-build-macro'
193 !include-raw: ./daisy4nfv-basic.sh
195 !include-raw: ./daisy4nfv-build.sh
199 name: daisy-verify-unit-macro
208 #####################################
210 #####################################
212 name: 'daisy4nfv-verify-defaults'
215 name: BUILD_DIRECTORY
216 default: $WORKSPACE/build_output
217 description: "Directory where the build artifact will be located upon the completion of the build."
219 name: CACHE_DIRECTORY
220 default: $HOME/opnfv/cache/$INSTALLER_TYPE
221 description: "Directory where the cache to be used during the build is located."
224 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
225 description: "URL to Google Storage."