From d009197ca33571451411287d31307fb5a37dbd0f Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Thu, 29 Sep 2016 16:25:51 +0200 Subject: fuel: Enable 3rd party CI for fuel plugin onos This change creates a job that gets triggered when a new patch is sent to upstream OpenStack Gerrit project openstack/fuel-plugin-onos, running 2 jobs fuel-verify-plugin-build-master and fuel-verify-plugin-test-master. Jobs do nothing at the moment and they don't vote to OpenStack Gerrit. Change-Id: I5a935dbdedb795b0916a2759286d261431aa225d Signed-off-by: Fatih Degirmenci --- jjb/fuel/fuel-plugin-verify-jobs.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'jjb/fuel/fuel-plugin-verify-jobs.yml') diff --git a/jjb/fuel/fuel-plugin-verify-jobs.yml b/jjb/fuel/fuel-plugin-verify-jobs.yml index affc705f3..cb2095575 100644 --- a/jjb/fuel/fuel-plugin-verify-jobs.yml +++ b/jjb/fuel/fuel-plugin-verify-jobs.yml @@ -44,11 +44,9 @@ 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' @@ -93,6 +91,14 @@ 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: @@ -114,6 +120,7 @@ - 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 @@ -128,6 +135,7 @@ - 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 @@ -154,11 +162,9 @@ - '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' -- cgit 1.2.3-korg