[JENKINS-10615]

Reproduced the problem. Workspace is getting released prematurely, before publishers run. This has all sorts of serious problems.
[FIXED JENKINS-10615]

Hold on to the lease until the very end.
Previously, the lease was only held until the main build section is over, before publishers start running.