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 +}