Skip to content

Commit

Permalink
Merge pull request #71 from bheiskell/fix/promotion/phantom
Browse files Browse the repository at this point in the history
[FIXED JENKINS-27716] - Disable archived promotion jobs
  • Loading branch information
oleg-nenashev committed Nov 11, 2015
2 parents 89aa15d + 2a33fc6 commit 2c7603e
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -157,6 +157,15 @@ public AbstractProject<?,?> getOwner() {
return getOwner().getACL();
}

/**
* JENKINS-27716: Since 1.585, the promotion must explicitly indicate that
* it can be disabled. Otherwise, promotions which trigger automatically
* upon build completion will execute, even if they're archived.
*/
@Override public boolean supportsMakeDisabled() {
return true;
}

/**
* Get the promotion condition by referencing it fully qualified class name
*/
Expand Down

0 comments on commit 2c7603e

Please sign in to comment.