From: Mike Marchetti Date: Fri, 29 Sep 2017 20:37:24 +0000 (-0400) Subject: skip -b option from installer X-Git-Tag: v3.0.0rc^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F17%2F2317%2F1;p=osm%2Fdevops.git skip -b option from installer Change-Id: Iba37058a0995660742b7146af3bec69339911382 Signed-off-by: Mike Marchetti --- diff --git a/jenkins/common/install_common b/jenkins/common/install_common index 3e99fa84..4a7c3529 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,10 +35,14 @@ 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 -