diff options
author | 2017-05-08 08:42:30 +0000 | |
---|---|---|
committer | 2017-05-08 08:42:30 +0000 | |
commit | a8b0815ecb461830e204a51bca12e3ca4d837c98 (patch) | |
tree | b653a956c97f57c1b54010602d496ab4b7a0bea1 /jjb/daisy4nfv | |
parent | 29e0b0ea6b5555045a7aad07d6c070967fbee355 (diff) | |
parent | 3259179855b171c62c9e87b9368abbf16919610d (diff) |
Merge "Fix the parameters of downloading"
Diffstat (limited to 'jjb/daisy4nfv')
-rwxr-xr-x | jjb/daisy4nfv/daisy4nfv-download-artifact.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/daisy4nfv/daisy4nfv-download-artifact.sh b/jjb/daisy4nfv/daisy4nfv-download-artifact.sh index 6107f9de2..a64c80e5c 100755 --- a/jjb/daisy4nfv/daisy4nfv-download-artifact.sh +++ b/jjb/daisy4nfv/daisy4nfv-download-artifact.sh @@ -63,12 +63,12 @@ echo # download the file if [[ "$NODE_NAME" =~ (zte) ]] && [ -x "$(command -v aria2c)" ]; then - DOWNLOAD_CMD="aria2c -x 3" + DOWNLOAD_CMD="aria2c -x 3 --allow-overwrite=true -d $WORKSPACE -o opnfv.bin" else - DOWNLOAD_CMD="curl -L -s" + DOWNLOAD_CMD="curl -L -s -o $WORKSPACE/opnfv.bin" fi -$DOWNLOAD_CMD -o $WORKSPACE/opnfv.bin http://$OPNFV_ARTIFACT_URL > gsutil.bin.log 2>&1 +$DOWNLOAD_CMD http://$OPNFV_ARTIFACT_URL > gsutil.bin.log 2>&1 # list the file ls -al $WORKSPACE/opnfv.bin |