diff options
-rw-r--r-- | jjb/apex/apex.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 97a70138c..c2f45448a 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -478,8 +478,10 @@ if sudo yum update -y $RPM_INSTALL_PATH | grep "does not update installed package"; then sudo yum downgrade -y $RPM_INSTALL_PATH; fi - else + elif [ -e "$RPM_INSTALL_PATH" ]; then sudo yum install -y $RPM_INSTALL_PATH; + else + sudo yum install -y http://${OPNFV_RPM_URL} fi # cleanup environment before we start |