max-total: 4
option: 'project'
- # the url to plugin repo can essentially become a variable if
- # the plugin name is injected to env by gerrit plugin
scm:
- git:
- url: 'https://git.openstack.org/openstack/fuel-plugin-bgpvpn'
+ url: 'https://git.openstack.org/$GERRIT_PROJECT'
refspec: '$GERRIT_REFSPEC'
branches:
- 'origin/$GERRIT_BRANCH'
forbidden-file-paths:
- compare-type: ANT
pattern: 'README.md|.gitignore|.gitreview'
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'openstack/fuel-plugin-onos'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'README.md|.gitignore|.gitreview'
readable-message: true
parameters:
- name: 'fuel-verify-plugin-build-{stream}'
current-parameters: false
predefined-parameters: |
+ GERRIT_PROJECT=$GERRIT_PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- name: 'fuel-verify-plugin-test-{stream}'
current-parameters: false
predefined-parameters: |
+ GERRIT_PROJECT=$GERRIT_PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- 'fuel-verify-plugin-test-.*'
block-level: 'NODE'
- # the url to plugin repo can essentially become a variable if
- # the plugin name is injected to env by gerrit plugin
scm:
- git:
- url: 'https://git.openstack.org/openstack/fuel-plugin-bgpvpn'
+ url: 'https://git.openstack.org/$GERRIT_PROJECT'
refspec: '$GERRIT_REFSPEC'
branches:
- 'origin/$GERRIT_BRANCH'