diff options
Diffstat (limited to 'jjb/genesis')
-rw-r--r-- | jjb/genesis/genesis-fuel.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/genesis/genesis-fuel.yml b/jjb/genesis/genesis-fuel.yml index 19f9dbaeb..fb25b07b6 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 "--------------------------------------------------------" |