From 4f14fb148999f57ef3efd79102447be0db1f11ac Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Sat, 19 Sep 2015 01:18:20 +0200 Subject: Bugfix: Fix lab reconfig issue by moving fuel dependency installation to master node ODL plugin build dependency installation was incorrectly put into lab-reconfig which runs on master node. This change moves the dependency installation into fuel-odl-plugin-build builder which runs on jumphost. Change-Id: Ic353cabeabb0a98fcdb8b2f94ababbbc79d3e963 Signed-off-by: Fatih Degirmenci --- jjb/genesis/genesis-fuel.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'jjb') diff --git a/jjb/genesis/genesis-fuel.yml b/jjb/genesis/genesis-fuel.yml index f99fa9308..f13dc070c 100644 --- a/jjb/genesis/genesis-fuel.yml +++ b/jjb/genesis/genesis-fuel.yml @@ -533,6 +533,16 @@ set -o nounset set -o pipefail + if [[ ! $(rpm -qa | grep rubygems) ]]; then + echo "Rubygems not found, but required for Fuel Plugin build ... attempting to install" + sudo yum install -y rubygems ruby-devel + fi + + if [[ ! $(gem list | grep fpm) ]]; then + echo "fpm gem not found, but required for Fuel Plugin build ... attempting to install" + sudo gem install fpm + fi + # log info to console echo "Starting the build of Fuel Opendaylight Plugin. This could take some time..." echo "--------------------------------------------------------" -- cgit 1.2.3-korg