Commit bc0e35d2 authored by Mirko@JTL's avatar Mirko@JTL

Merge branch 'develop' into 'master'

Rsync zip files to another directory instead of it's own

See merge request jtlshop/paypal!24
parents 186fc7c4 a5e4a841
......@@ -103,8 +103,8 @@ stages:
export DOWNLOAD_PATH_ZIP="$DOWNLOAD_PATH/$FILENAME";
export DOWNLOAD_URL="https://build.jtl-shop.de/get/$FILENAME";
curl -o $DOWNLOAD_PATH_ZIP -u $BUILD_RESTRICTED_USER:$BUILD_RESTRICTED_USER_PW $DOWNLOAD_URL
unzip -qo $DOWNLOAD_PATH_ZIP -d $DOWNLOAD_PATH
curl -o $DOWNLOAD_PATH_ZIP $DOWNLOAD_URL
unzip -qo "$DOWNLOAD_PATH_ZIP" -d "$DOWNLOAD_PATH/jtl_paypal_dev" && rsync -rt --delete-after "$DOWNLOAD_PATH/jtl_paypal_dev/jtl_paypal/." "$DOWNLOAD_PATH/jtl_paypal_dev/"
rm $DOWNLOAD_PATH_ZIP
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment