Add the ability to push only if the build succeeds - not going to bother with treating unstable differently than failure for now, because that always drives me batty.
Integrated in plugins_hudson-git-plugin #18
JENKINS-7176 Added option to GitPublisher to only push if build succeeds - applies to all configured pushes for now. May change that to a per-push configuration option.
Andrew Bayer :