I'm having an intermittent error in my builds because a war file the build
generates seems to be in use by jenkins, exception shown below. When I navigate
to the war file in the filesystem I can't delete it either. It seems that the
Jenkins process has a lock on it, as I can only delete it
No Jenkins won't be scanning for your War file. Instead it's probably
because of, what I deem broken, Windows locking of the file and not
releasing it properly.
Unfortunately I never discovered a way around it apart from moving to Linux
:) Hopefully someone can help you out in fixing the issue.