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 - '{alias}-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}'
91 disable-strict-forbidden-file-verification: 'true'
97 readable-message: true
103 - 'opnfv-build-centos-defaults'
104 - '{alias}-verify-defaults':
105 gs-pathname: '{gs-pathname}'
108 - description-setter:
109 description: "Built on $NODE_NAME"
112 condition: SUCCESSFUL
114 - name: '{alias}-verify-unit-{stream}'
115 current-parameters: false
116 predefined-parameters: |
118 GERRIT_REFSPEC=$GERRIT_REFSPEC
119 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
120 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
121 node-parameters: false
122 kill-phase-on: FAILURE
126 condition: SUCCESSFUL
128 - name: '{alias}-verify-build-{stream}'
129 current-parameters: false
130 predefined-parameters: |
132 GERRIT_REFSPEC=$GERRIT_REFSPEC
133 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
134 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
135 node-parameters: false
136 kill-phase-on: FAILURE
140 name: '{alias}-verify-{phase}-{stream}'
141 disabled: '{obj:disabled}'
150 use-build-blocker: true
152 - '{alias}-merge-build-.*'
153 - '{alias}-verify-build-.*'
154 - '{installer}-daily-.*'
168 - '{installer}-defaults'
169 - '{slave-label}-defaults'
170 - '{alias}-verify-defaults':
171 gs-pathname: '{gs-pathname}'
174 - description-setter:
175 description: "Built on $NODE_NAME"
176 - '{project}-verify-{phase}-macro'
178 #####################################
180 #####################################
182 name: 'daisy-verify-build-macro'
185 !include-raw: ./daisy4nfv-basic.sh
187 !include-raw: ./daisy4nfv-build.sh
191 name: daisy-verify-unit-macro
200 #####################################
202 #####################################
204 name: 'daisy4nfv-verify-defaults'
207 name: BUILD_DIRECTORY
208 default: $WORKSPACE/build_output
209 description: "Directory where the build artifact will be located upon the completion of the build."
211 name: CACHE_DIRECTORY
212 default: $HOME/opnfv/cache/$INSTALLER_TYPE
213 description: "Directory where the cache to be used during the build is located."
216 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
217 description: "URL to Google Storage."