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
59 server-name: 'gerrit.opnfv.org'
61 - patchset-created-event:
62 exclude-drafts: 'false'
63 exclude-trivial-rebase: 'false'
64 exclude-no-code-change: 'false'
65 - draft-published-event
66 - comment-added-contains-event:
67 comment-contains-value: 'recheck'
68 - comment-added-contains-event:
69 comment-contains-value: 'reverify'
71 - project-compare-type: 'ANT'
72 project-pattern: '{project}'
74 - branch-compare-type: 'ANT'
75 branch-pattern: '**/{branch}'
83 disable-strict-forbidden-file-verification: 'true'
89 readable-message: true
95 - 'opnfv-build-centos-defaults'
96 - '{alias}-verify-defaults':
97 gs-pathname: '{gs-pathname}'
100 - description-setter:
101 description: "Built on $NODE_NAME"
104 condition: SUCCESSFUL
106 - name: '{alias}-verify-unit-{stream}'
107 current-parameters: false
108 predefined-parameters: |
110 GERRIT_REFSPEC=$GERRIT_REFSPEC
111 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
112 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
113 node-parameters: false
114 kill-phase-on: FAILURE
118 condition: SUCCESSFUL
120 - name: '{alias}-verify-build-{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 name: '{alias}-verify-{phase}-{stream}'
133 disabled: '{obj:disabled}'
152 - '{slave-label}-defaults'
153 - '{alias}-verify-defaults':
154 gs-pathname: '{gs-pathname}'
156 - description-setter:
157 description: "Built on $NODE_NAME"
158 - '{project}-verify-{phase}-macro'
160 #####################################
162 #####################################
164 name: 'daisy-verify-build-macro'
167 !include-raw: ./daisy4nfv-basic.sh
169 !include-raw: ./daisy4nfv-build.sh
171 !include-raw: ./daisy4nfv-workspace-cleanup.sh
174 name: daisy-verify-unit-macro
183 #####################################
185 #####################################
187 name: 'daisy4nfv-verify-defaults'
190 name: BUILD_DIRECTORY
191 default: $WORKSPACE/build_output
192 description: "Directory where the build artifact will be located upon the completion of the build."
194 name: CACHE_DIRECTORY
195 default: $HOME/opnfv/cache/$INSTALLER_TYPE
196 description: "Directory where the cache to be used during the build is located."
199 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
200 description: "URL to Google Storage."