X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2FVCA%2Fstart_build;h=1724d8e5a3d92d14bfda9ba189d345915074c11e;hb=refs%2Fchanges%2F47%2F547%2F1;hp=a945a05cb34874c1c209238c42326b56bea96fc5;hpb=8802d14a762fb69bae83dc1ca2bce0cc4d190ba5;p=osm%2Fdevops.git diff --git a/jenkins/VCA/start_build b/jenkins/VCA/start_build index a945a05c..1724d8e5 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/devel +apt update apt install -y juju -juju bootstrap juju localhost +juju bootstrap localhost osm RC=0