From 725f49105a9f250049f008783de778029ab0d14b Mon Sep 17 00:00:00 2001 From: Nick Caley Date: Wed, 11 Nov 2015 12:52:41 -0500 Subject: [PATCH] Removed exception throw when calling isFingerprintConfigured This was causing the promotion process to *always* fail when also running the Build Environment Plugin v1.6. The Build Environment Plugin will always check if a process has fingerprint enabled, and this would always throw an exception. The dummy implementation the fingerprint method should just return false. --- .../java/hudson/plugins/promoted_builds/PromotionProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java b/src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java index 15f528a5..50ac7e71 100644 --- a/src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java +++ b/src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java @@ -427,7 +427,7 @@ public boolean isInQueue(AbstractBuild build) { // need to think about what the implications are. // public boolean isFingerprintConfigured() { - throw new UnsupportedOperationException(); + return false; } protected void buildDependencyGraph(DependencyGraph graph) {