X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fcommon%2Finstall_common;h=71eb16239d13091acf19cf7cbf1e74fbe661beb0;hb=d5cec9dbcd80484e0748fcdee8df33d9b94825ff;hp=3e99fa845aad0ccdbe2fba1eabac979977ddc4e5;hpb=d1e08b9b92f83e299f84f6ae2117111ec8999a21;p=osm%2Fdevops.git diff --git a/jenkins/common/install_common b/jenkins/common/install_common index 3e99fa84..71eb1623 100755 --- a/jenkins/common/install_common +++ b/jenkins/common/install_common @@ -21,7 +21,7 @@ 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:" o; do +while getopts ":r:k:u:R:b:" o; do case "${o}" in r) REPOSITORY=${OPTARG} @@ -35,11 +35,15 @@ while getopts ":r:k:u:R:" o; do u) REPOSITORY_BASE=${OPTARG} ;; + b) + ## ignore branch option + ;; esac done key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY +echo $key_location curl $key_location | apt-key add - -apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO IM osmclient openvim" +apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO IM MON osmclient openvim"