apparently not quite working, but trying to suppress "even if unstable" option for the promoted builds plugin.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5642 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-10-31 06:28:54 +00:00
1 parent b57806b773
commit d47aa1ef24
2 files changed
+11 -4

No files matched your search

@@ -193,6 +193,11 @@ public class BuildTrigger extends Publisher {
return true;
}
public boolean showEvenIfUnstableOption(AbstractProject p) {
// UGLY: for promotion process, this option doesn't make sense.
return !p.getClass().getName().contains("PromotionProcess");
}
/**
* Form validation method.
*/