X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fiec%2Fiec-compass-build.sh;h=e604dfc93c9a86e1a52190ec09fa9ad8abf7d746;hb=e434136315b44d1c376ad81d5e97950e69ad22b3;hp=96ce02e46c40714d191d10f32a6871e97d575aae;hpb=6c33d9285748512a6f857112b880c65c3fc3af05;p=ci-management.git diff --git a/jjb/iec/iec-compass-build.sh b/jjb/iec/iec-compass-build.sh index 96ce02e..e604dfc 100755 --- a/jjb/iec/iec-compass-build.sh +++ b/jjb/iec/iec-compass-build.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -e +set -ex check_env(){ #Checking python-pip software status. If failed, reinstall it. @@ -36,8 +36,11 @@ ln -s $COMPASS_WORK_DIR work sudo docker rm -f `sudo docker ps | grep compass | cut -f1 -d' '` || true -curl -s http://people.linaro.org/~yibo.cai/compass/compass4nfv-arm64-fixup.sh | bash || true +curl -sL http://people.linaro.org/~yibo.cai/compass/compass4nfv-arm64-fixup.sh | bash || true ./build.sh +# Fix permissions so we can archive log files before pushing to Nexus +sudo chown $(id -u):$(id -g) -R "${WORKSPACE}" + exit 0