jenkinsci/groovy-postbuild-plugin — pull request #8 by alexanderlink (2013-07-08 15:04:19+00:00)
Title: Enabled ABORTED and NOT_BUILT states

Hello,

it would be helpful for us to enable setting ABORTED and NOT_BUILT build results (additionally to SUCCESS, FAILURE and UNSTABLE).

Background:
Having a Maven CI job (building snapshot versions and deploying to a snapshot repo) and a release job (building non-snapshot versions and releasing to a milestone or release repo) the CI job always fails during a release because non-snapshot versions cannot be deployed to a snapshot repo.
Since we cannot prevent the CI job from being triggered the better semantic than FAILURE would be NOT_BUILD or ABORTED if we identify a non-snapshot version in a snapshot CI build.

Thanks and regards,
Alex