summaryrefslogtreecommitdiffstats
path: root/jjb/genesis/genesis-fuel.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/genesis/genesis-fuel.yml')
-rw-r--r--jjb/genesis/genesis-fuel.yml10
1 files changed, 10 insertions, 0 deletions
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 "--------------------------------------------------------"