2 name: 'fuel-plugin-verify-jobs'
7 #####################################
9 #####################################
15 #####################################
16 # patch verification phases
17 #####################################
20 slave-label: 'opnfv-build-ubuntu'
22 slave-label: 'opnfv-build-ubuntu'
23 #####################################
25 #####################################
27 - 'fuel-verify-plugin-{stream}'
28 - 'fuel-verify-plugin-{phase}-{stream}'
29 #####################################
31 #####################################
33 name: 'fuel-verify-plugin-{stream}'
35 project-type: multijob
37 disabled: '{obj:disabled}'
47 # the url to plugin repo can essentially become a variable if
48 # the plugin name is injected to env by gerrit plugin
51 url: 'https://git.openstack.org/openstack/fuel-plugin-bgpvpn'
52 refspec: '$GERRIT_REFSPEC'
54 - 'origin/$GERRIT_BRANCH'
56 choosing-strategy: 'gerrit'
61 - ssh-agent-credentials:
70 server-name: 'review.openstack.org'
79 - patchset-created-event:
80 exclude-drafts: 'false'
81 exclude-trivial-rebase: 'false'
82 exclude-no-code-change: 'false'
83 - comment-added-contains-event:
84 comment-contains-value: 'recheck'
85 - comment-added-contains-event:
86 comment-contains-value: 'reverify'
88 - project-compare-type: 'PLAIN'
89 project-pattern: 'openstack/fuel-plugin-bgpvpn'
91 - branch-compare-type: 'ANT'
92 branch-pattern: '**/{branch}'
95 pattern: 'README.md|.gitignore|.gitreview'
96 readable-message: true
103 - 'opnfv-build-defaults'
104 - 'fuel-verify-plugin-defaults':
105 gs-pathname: '{gs-pathname}'
108 - description-setter:
109 description: "Built on $NODE_NAME"
112 condition: SUCCESSFUL
114 - name: 'fuel-verify-plugin-build-{stream}'
115 current-parameters: false
116 predefined-parameters: |
117 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'fuel-verify-plugin-test-{stream}'
129 current-parameters: false
130 predefined-parameters: |
131 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'fuel-verify-plugin-{phase}-{stream}'
142 disabled: '{obj:disabled}'
152 use-build-blocker: true
154 - 'fuel-verify-plugin-test-.*'
157 # the url to plugin repo can essentially become a variable if
158 # the plugin name is injected to env by gerrit plugin
161 url: 'https://git.openstack.org/openstack/fuel-plugin-bgpvpn'
162 refspec: '$GERRIT_REFSPEC'
164 - 'origin/$GERRIT_BRANCH'
166 choosing-strategy: 'gerrit'
171 - ssh-agent-credentials:
173 - '{ssh-credentials}'
182 - '{slave-label}-defaults'
183 - '{installer}-defaults'
184 - 'fuel-verify-plugin-defaults':
185 gs-pathname: '{gs-pathname}'
188 - description-setter:
189 description: "Built on $NODE_NAME"
190 - 'fuel-verify-plugin-{phase}-macro'
191 #####################################
193 #####################################
195 name: 'fuel-verify-plugin-build-macro'
200 echo "Not activated!"
203 name: 'fuel-verify-plugin-test-macro'
208 echo "Not activated!"
209 #####################################
211 #####################################
213 name: 'fuel-verify-plugin-defaults'
216 name: BUILD_DIRECTORY
217 default: $WORKSPACE/build_output
218 description: "Directory where the build artifact will be located upon the completion of the build."
220 name: CACHE_DIRECTORY
221 default: $HOME/opnfv/cache/$INSTALLER_TYPE
222 description: "Directory where the cache to be used during the build is located."
225 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
226 description: "URL to Google Storage."