X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2FVCA%2Fstart_build;h=186843fce9fd64f8110b401ec9ea8d3b112a2347;hb=59699d6020c0c5622282ef53996bc11d64df5a40;hp=a945a05cb34874c1c209238c42326b56bea96fc5;hpb=8802d14a762fb69bae83dc1ca2bce0cc4d190ba5;p=osm%2Fdevops.git diff --git a/jenkins/VCA/start_build b/jenkins/VCA/start_build index a945a05c..186843fc 100755 --- a/jenkins/VCA/start_build +++ b/jenkins/VCA/start_build @@ -16,6 +16,10 @@ # 20 Sep 2016 -- Gerardo Garcia -- adapted from template # +HERE=$(realpath $(dirname $0)) +OSM_JENKINS=$(dirname $HERE) +. $OSM_JENKINS/common/all_funcs + INFO "installing packages" apt update lxd init --auto @@ -44,8 +48,10 @@ EOF systemctl enable lxd-bridge systemctl start lxd-bridge lxc image copy ubuntu:16.04 local: --alias ubuntu-xenial +add-apt-repository -y ppa:juju/stable +apt update apt install -y juju -juju bootstrap juju localhost +juju bootstrap localhost osm RC=0