summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/apex/apex-deploy.sh')
-rwxr-xr-xjjb/apex/apex-deploy.sh7
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/"