X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fcommon%2Finstall_common;h=3884b0e3ba6eba102b5757a2f3acd06ea49ebca7;hb=refs%2Fchanges%2F91%2F5691%2F1;hp=2cee8628997ff5f0a42a6952d122725bd92bd15f;hpb=2c2374199270b5e71f419369a9a5e111ea0df375;p=osm%2Fdevops.git diff --git a/jenkins/common/install_common b/jenkins/common/install_common index 2cee8628..3884b0e3 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:" o; do +while getopts ":r:k:u:R:b:" o; do case "${o}" in r) REPOSITORY=${OPTARG} @@ -35,13 +35,14 @@ while getopts ":r:k:u:R:" o; do u) REPOSITORY_BASE=${OPTARG} ;; - *) - exit 1 + b) + ## ignore branch option ;; esac done key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY +echo $key_location curl $key_location | apt-key add -