From 6a6dd458679d62b2d840a71220c6af20e894e37a Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 9 Oct 2021 01:41:17 -0400 Subject: [PATCH] GHA reliability: retry FTP upload #3011 --- java_console/upload_server.sh | 4 ++-- java_tools/ts_plugin/upload_plugin.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java_console/upload_server.sh b/java_console/upload_server.sh index 5ada48fd5e..e8db7cd793 100755 --- a/java_console/upload_server.sh +++ b/java_console/upload_server.sh @@ -11,6 +11,6 @@ if [ ! "$1" ] || [ ! "$2" ] || [ ! "$3" ]; then exit 0 fi -echo -e "\nUploading plugin body" +echo -e "\nUploading file: $5" -ncftpput -m -R -v -u "$1" -p "$2" "$3" $4 $5 +ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" $4 $5 diff --git a/java_tools/ts_plugin/upload_plugin.sh b/java_tools/ts_plugin/upload_plugin.sh index 4603d4d3b5..4e268b6747 100755 --- a/java_tools/ts_plugin/upload_plugin.sh +++ b/java_tools/ts_plugin/upload_plugin.sh @@ -8,4 +8,4 @@ fi echo -e "\nUploading plugin body" -ncftpput -m -R -v -u "$1" -p "$2" "$3" autoupdate build/jar/rusefi_plugin_body.jar +ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" autoupdate build/jar/rusefi_plugin_body.jar