Merge "Trim trailing slash from REPOSITORY_BASE before add-apt-repository"
[osm/devops.git] / jenkins / common / install_common
index b769014..bae5b9a 100755 (executable)
@@ -48,4 +48,5 @@ echo $key_location
 
 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"