diff --git a/src/main/java/org/jenkinsci/plugins/envinject/EnvInjectEnvVarsContributor.java b/src/main/java/org/jenkinsci/plugins/envinject/EnvInjectEnvVarsContributor.java index 7e9729d1..f1001a89 100644 --- a/src/main/java/org/jenkinsci/plugins/envinject/EnvInjectEnvVarsContributor.java +++ b/src/main/java/org/jenkinsci/plugins/envinject/EnvInjectEnvVarsContributor.java @@ -27,8 +27,8 @@ public void buildEnvironmentFor(Job job, EnvVars env, TaskListener listener) thr int expectedEnvSize = env.size() + result.size(); env.putAll(result); if (env.size() != expectedEnvSize) { - listener.error("Not all environment variables could be successfully injected. " + - "Check for similarly-named environment variables."); + listener.error("Some environment variables were not successfully injected. " + + "This may be due to conflicts with existing environment variables that have the same name."); } } }