From 1e9c9d8b85737017bf8bb9774321bf295f8cf9f0 Mon Sep 17 00:00:00 2001 From: Timur Batyrshin Date: Thu, 19 Feb 2015 15:37:43 +0300 Subject: [PATCH] don't downcase the conditional in multijob job [JENKINS-27025] --- .../com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java b/src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java index 9f21ff22..e8cca6eb 100644 --- a/src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java +++ b/src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java @@ -133,7 +133,7 @@ private int getScmChange(AbstractProject subjob, PhaseJobsConfig phaseConfig, Ab public boolean evalCondition(final String condition, final AbstractBuild build, final BuildListener listener) { try { - return (Boolean) Eval.me(expandToken(condition, build, listener).toLowerCase().trim()); + return (Boolean) Eval.me(expandToken(condition, build, listener).trim()); } catch (Exception e) { listener.getLogger().println("Can't evaluate expression, false is assumed."); listener.getLogger().println(e.toString()); @@ -820,4 +820,4 @@ public void setContinuationCondition( ContinuationCondition continuationCondition) { this.continuationCondition = continuationCondition; } -} \ No newline at end of file +}