git publisher pushes to early.
Whe've set git publisher to push only when build succeeds.
The problem is that when the git publisher checks whether the status is succeeded this status can be still be changed, by test results or fxcop for instance.
Would it be possible for the publisher to be the very last task after build.
I've added the config and a result in the attachments to clarify.