From 7ae1ff14ed5ad5c2177aab2518e5aad38e56b739 Mon Sep 17 00:00:00 2001
From: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date: Thu, 21 Sep 2017 15:19:48 +0200
Subject: [PATCH] Trim trailing slash from REPOSITORY_BASE before
 add-apt-repository

Change-Id: Ic052f6d41d3d46c99ffcdc399febb875566b2672
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
---
 jenkins/common/install_common | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jenkins/common/install_common b/jenkins/common/install_common
index 2cee8628..c9a80ca0 100755
--- a/jenkins/common/install_common
+++ b/jenkins/common/install_common
@@ -45,4 +45,5 @@ key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY
 
 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"
-- 
GitLab