Trim trailing slash from REPOSITORY_BASE before add-apt-repository
Change-Id: Ic052f6d41d3d46c99ffcdc399febb875566b2672
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/jenkins/common/install_common b/jenkins/common/install_common
index 2cee862..c9a80ca 100755
--- a/jenkins/common/install_common
+++ b/jenkins/common/install_common
@@ -45,4 +45,5 @@
curl $key_location | apt-key add -
+REPOSITORY_BASE=${REPOSITORY_BASE%/}
apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO IM osmclient openvim"