Fix sftp client

3 jobs for master in 1 minute and 22 seconds (queued for 2 seconds)
Name Stage Failure
test Test
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.

BUILD FAILED in 1m 12s
3 actionable tasks: 3 executed
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1