2 name: 'fuel-plugin-verify-jobs'
7 #####################################
9 #####################################
12 upstream-branch: '{stream}'
13 opnfv-branch: 'experimental'
16 #####################################
17 # patch verification phases
18 #####################################
21 slave-label: 'opnfv-build-ubuntu'
23 slave-label: 'opnfv-build-ubuntu'
24 #####################################
26 #####################################
28 - 'fuel-verify-plugin-{stream}'
29 - 'fuel-verify-plugin-{phase}-{stream}'
30 #####################################
32 #####################################
34 name: 'fuel-verify-plugin-{stream}'
36 project-type: multijob
38 disabled: '{obj:disabled}'
52 branch: '{upstream-branch}'
53 description: 'OpenStack branch to use'
56 default: '{opnfv-branch}'
57 description: 'OPNFV branch to use'
58 - 'opnfv-build-defaults'
59 - 'fuel-verify-plugin-defaults':
60 gs-pathname: '{gs-pathname}'
64 url: 'https://git.openstack.org/$GERRIT_PROJECT'
65 refspec: '$GERRIT_REFSPEC'
67 - 'origin/$GERRIT_BRANCH'
69 choosing-strategy: 'gerrit'
74 - ssh-agent-credentials:
83 server-name: 'review.openstack.org'
92 - patchset-created-event:
93 exclude-drafts: 'false'
94 exclude-trivial-rebase: 'false'
95 exclude-no-code-change: 'false'
96 - comment-added-contains-event:
97 comment-contains-value: 'recheck'
98 - comment-added-contains-event:
99 comment-contains-value: 'reverify'
101 - project-compare-type: 'PLAIN'
102 project-pattern: 'openstack/fuel-plugin-bgpvpn'
104 - branch-compare-type: 'ANT'
105 branch-pattern: '**/{upstream-branch}'
106 forbidden-file-paths:
108 pattern: 'README.md|.gitignore|.gitreview'
109 - project-compare-type: 'PLAIN'
110 project-pattern: 'openstack/fuel-plugin-onos'
112 - branch-compare-type: 'ANT'
113 branch-pattern: '**/{upstream-branch}'
114 forbidden-file-paths:
116 pattern: 'README.md|.gitignore|.gitreview'
117 readable-message: true
120 - description-setter:
121 description: "Built on $NODE_NAME"
124 condition: SUCCESSFUL
126 - name: 'fuel-verify-plugin-build-{stream}'
127 current-parameters: false
128 predefined-parameters: |
129 GERRIT_PROJECT=$GERRIT_PROJECT
130 GERRIT_BRANCH=$GERRIT_BRANCH
131 GERRIT_REFSPEC=$GERRIT_REFSPEC
132 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
133 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
134 node-parameters: false
135 kill-phase-on: FAILURE
139 condition: SUCCESSFUL
141 - name: 'fuel-verify-plugin-test-{stream}'
142 current-parameters: false
143 predefined-parameters: |
144 GERRIT_PROJECT=$GERRIT_PROJECT
145 GERRIT_BRANCH=$GERRIT_BRANCH
146 GERRIT_REFSPEC=$GERRIT_REFSPEC
147 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
148 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
149 node-parameters: false
150 kill-phase-on: FAILURE
154 name: 'fuel-verify-plugin-{phase}-{stream}'
156 disabled: '{obj:disabled}'
166 use-build-blocker: true
168 - 'fuel-verify-plugin-test-.*'
175 branch: '{upstream-branch}'
176 description: 'OpenStack branch to use'
179 default: '{opnfv-branch}'
180 description: 'OPNFV branch to use'
181 - '{slave-label}-defaults'
182 - '{installer}-defaults'
183 - 'fuel-verify-plugin-defaults':
184 gs-pathname: '{gs-pathname}'
188 url: 'https://git.openstack.org/$GERRIT_PROJECT'
189 refspec: '$GERRIT_REFSPEC'
191 - 'origin/$GERRIT_BRANCH'
193 choosing-strategy: 'gerrit'
198 - ssh-agent-credentials:
200 - '{ssh-credentials}'
206 - description-setter:
207 description: "Built on $NODE_NAME"
208 - 'fuel-verify-plugin-{phase}-macro'
209 #####################################
211 #####################################
213 name: 'fuel-verify-plugin-build-macro'
216 !include-raw: ./fuel-plugin-build.sh
219 name: 'fuel-verify-plugin-test-macro'
222 !include-raw: ./fuel-plugin-test.sh
223 #####################################
225 #####################################
227 name: 'fuel-verify-plugin-defaults'
230 name: BUILD_DIRECTORY
231 default: $WORKSPACE/build_output
232 description: "Directory where the build artifact will be located upon the completion of the build."
234 name: CACHE_DIRECTORY
235 default: $HOME/opnfv/cache/$INSTALLER_TYPE
236 description: "Directory where the cache to be used during the build is located."
239 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
240 description: "URL to Google Storage."