From: Eric Ball Date: Tue, 28 May 2019 17:18:44 +0000 (+0000) Subject: Merge "Replace the root command with user mode" X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=2fe3188c990b60e5eb25bc2defd80ae8d9167158;hp=02cd102129bedb9c40657955f9efce563e9add5f Merge "Replace the root command with user mode" --- diff --git a/jjb/iec/iec-compass-build.sh b/jjb/iec/iec-compass-build.sh index 64cea9e..2014b80 100755 --- a/jjb/iec/iec-compass-build.sh +++ b/jjb/iec/iec-compass-build.sh @@ -7,6 +7,7 @@ git clone https://github.com/opnfv/compass4nfv.git cd compass4nfv COMPASS_WORK_DIR=$WORKSPACE/../compass-work + mkdir -p $COMPASS_WORK_DIR ln -s $COMPASS_WORK_DIR work @@ -14,6 +15,8 @@ sudo docker rm -f `docker ps | grep compass | cut -f1 -d' '` || true curl -s http://people.linaro.org/~yibo.cai/compass/compass4nfv-arm64-fixup.sh | bash || true +sed -i "s/sudo pip install pyyaml/python -m pip install pyyaml --user/g" build.sh + ./build.sh exit 0