#4: made build result configurable

Fix for https://github.com/cloudnative/jenkins-notify-plugin/issues/4