projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Enhance CLI NS launch with config parameter Fix ns config to check for empty...
[osm/devops.git]
/
jenkins
/
common
/
install_common
diff --git
a/jenkins/common/install_common
b/jenkins/common/install_common
index
3304bae
..
901d287
100755
(executable)
--- a/
jenkins/common/install_common
+++ b/
jenkins/common/install_common
@@
-16,12
+16,12
@@
#
#
#
#
-RELEASE="ReleaseT
WO
"
+RELEASE="ReleaseT
HREE
"
REPOSITORY_KEY="OSM%20ETSI%20Release%20Key.gpg"
REPOSITORY="stable"
REPOSITORY_BASE="http://osm-download.etsi.org/repository/osm/debian"
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}
case "${o}" in
r)
REPOSITORY=${OPTARG}
@@
-35,14
+35,18
@@
while getopts ":r:k:u:R:" o; do
u)
REPOSITORY_BASE=${OPTARG}
;;
u)
REPOSITORY_BASE=${OPTARG}
;;
- *)
- exit 1
+ b)
+ ## ignore branch option
+ ;;
+ -)
;;
esac
done
key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY
;;
esac
done
key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY
+echo $key_location
curl $key_location | apt-key add -
curl $key_location | apt-key add -
-add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO osmclient openvim"
+REPOSITORY_BASE=${REPOSITORY_BASE%/}
+apt-get update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO MON IM osmclient openvim"