mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 22:12:25 +00:00
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:
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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user