X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fcommon%2Finstall_common;h=bae5b9a79a52b1e09fdd8fd6e25ce828aa35d10a;hb=ae8b04e946f0e8028eaf49b87858582c46487004;hp=4a7c352919906c6f38dc1647a35ace6daef3b725;hpb=b884a463086b9841ef3f7b324f320db5e6e11492;p=osm%2Fdevops.git diff --git a/jenkins/common/install_common b/jenkins/common/install_common index 4a7c3529..bae5b9a7 100755 --- a/jenkins/common/install_common +++ b/jenkins/common/install_common @@ -16,12 +16,12 @@ # # -RELEASE="ReleaseTWO" +RELEASE="ReleaseTHREE" REPOSITORY_KEY="OSM%20ETSI%20Release%20Key.gpg" REPOSITORY="stable" REPOSITORY_BASE="http://osm-download.etsi.org/repository/osm/debian" -while getopts ":r:k:u:R:b:" o; do +while getopts ":r:k:u:R:b:-:" o; do case "${o}" in r) REPOSITORY=${OPTARG} @@ -38,6 +38,8 @@ while getopts ":r:k:u:R:b:" o; do b) ## ignore branch option ;; + -) + ;; esac done @@ -46,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"