Skip to content

Commit

Permalink
Merge pull request #14 from ndeloof/master
Browse files Browse the repository at this point in the history
fix for JENKINS-10423
  • Loading branch information
stephenc committed Oct 14, 2011
2 parents 314089c + b0c0504 commit b2f7ced
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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.
Expand Down

0 comments on commit b2f7ced

Please sign in to comment.