[FIXED JENKINS-23683] Check whether war's directory is writable
Merge pull request #1311 from daniel-beck/JENKINS-23683

[FIXED JENKINS-23683] Check whether war's directory is writable