Skip to content
Permalink
Browse files
Merge pull request #14 from ndeloof/master
fix for JENKINS-10423
  • Loading branch information
stephenc committed Oct 14, 2011
2 parents 314089c + b0c0504 commit b2f7cedb25664a5a85f075c99b14f674105360fc
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java
@@ -248,6 +248,8 @@ public Status isMet(AbstractBuild<?,?> build) {
* true if the build was promoted.
*/
public boolean considerPromotion(AbstractBuild<?,?> build) throws IOException {
if (isDisabled()) return false;

PromotedBuildAction a = build.getAction(PromotedBuildAction.class);

// if it's already promoted, no need to do anything.

0 comments on commit b2f7ced

Please sign in to comment.