Skip to content
Permalink
Browse files

Merge pull request #71 from bheiskell/fix/promotion/phantom

[FIXED JENKINS-27716] - Disable archived promotion jobs
  • Loading branch information
oleg-nenashev committed Nov 11, 2015
2 parents 89aa15d + 2a33fc6 commit 2c7603e9b91eb35c8767c5020e73e4a844dc63b3
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java
@@ -157,6 +157,15 @@ public JobPropertyImpl getParent() {
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
*/

0 comments on commit 2c7603e

Please sign in to comment.
You can’t perform that action at this time.