I have auto deploy enabled on my tomcat 7 server. I deploy the war to the tomcat webapps directory over SCP from my Jenkins server. The problem is that Tomcat sometimes tries to unpack the WAR while it is in the process of being copied.
Is this a known issue? And is there a workaround? Maybe I could copy the war to a different directory over SCP and then do a local file copy to the webapps directory, but I'd prefer to not have the extra step if I don't need to.