From ebf87a2efda6528e6963f8f4cc26f6767cd8e7bd Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Tue, 12 Sep 2017 11:55:43 -0400 Subject: Apex: remove relative paths for tmp build dirs Change-Id: I3246aa7d7b26b2d79ba9bd23aba4f305eb47fd94 Signed-off-by: Tim Rozet --- jjb/apex/apex-deploy.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh index 6de12d4b9..bfed67ea5 100755 --- a/jjb/apex/apex-deploy.sh +++ b/jjb/apex/apex-deploy.sh @@ -49,11 +49,10 @@ if [[ "$ARTIFACT_VERSION" =~ dev ]]; then # TODO(trozet) add verification here # Install dev build - mkdir -p ~/tmp - rm -rf ~/tmp/.build - mv -f .build ~/tmp/ + sudo rm -rf /tmp/.build + mv -f .build /tmp/ sudo pip3 install --upgrade --force-reinstall . - mv -f ~/tmp/.build . + mv -f /tmp/.build ${WORKSPACE}/ else DEPLOY_SETTINGS_DIR="/etc/opnfv-apex/" NETWORK_SETTINGS_DIR="/etc/opnfv-apex/" -- cgit 1.2.3-korg