X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Fcommon%2Finstall_common;h=d844bdd9bdf9d3baec3d3b7bb412a8797a2d1acf;hb=8f83069696a74f3fc9272a5c65d5e75e923e7ff9;hp=ef8322bbccd63511a124eb1276febafa86809168;hpb=425f8cef392f81356280f6508384ac397aa2eb85;p=osm%2Fdevops.git diff --git a/jenkins/common/install_common b/jenkins/common/install_common old mode 100644 new mode 100755 index ef8322bb..d844bdd9 --- a/jenkins/common/install_common +++ b/jenkins/common/install_common @@ -43,8 +43,6 @@ done key_location=$REPOSITORY_BASE/$RELEASE/$REPOSITORY_KEY -# key pulled from https -[[ "$key_location" =~ https ]] || key_location=${key_location/http/https} curl $key_location | apt-key add - -add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO osmclient openvim" +apt update && add-apt-repository -y "deb $REPOSITORY_BASE/$RELEASE $REPOSITORY SO UI RO osmclient openvim"