diff options
author | Tim Rozet <trozet@redhat.com> | 2017-09-12 11:55:43 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2017-09-12 11:55:43 -0400 |
commit | ebf87a2efda6528e6963f8f4cc26f6767cd8e7bd (patch) | |
tree | d29bfc769e1f3c0d3649dafaa40ca9eafe88580e | |
parent | fedbb1d10cbb3f6074773833261a70a26238558c (diff) |
Apex: remove relative paths for tmp build dirs
Change-Id: I3246aa7d7b26b2d79ba9bd23aba4f305eb47fd94
Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-x | jjb/apex/apex-deploy.sh | 7 |
1 files 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/" |