 <p>Something to do with the exit status returned by Ant in the version I was using (6) as reported by another user <a href="http://jenkins.361315.n4.nabble.com/Ant-build-successful-but-hudson-claims-a-failure-td362339.html" rel="nofollow">here</a>. I "solved" it by upgrading to version 8.</p>