I am getting the following rsync errors randomly from my capistrano scripts.
rsync: stat "/app/test-0.1-SNAPSHOT.jar.SB4uq7" failed: No such file or directory (2)
rsync: rename "/app/test-0.1-SNAPSHOT.jar.SB4uq7" -> "target/test-0.1-SNAPSHOT.jar": No such file or directory (2)
rsync: mkstemp "/app/.run-test-reports.sh.dY7r8H" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
I am using the following rsync command:
rsync -Oarvzp --progress "#{source}" "#{user}@#{destination_host}:#{destination}/"
Can someone help me in solving it ?