Skip to content
Permalink
Browse files

Fixes JENKINS-23274: remove log of script content

Avoids the script content appearing in the build output. Script execution is logged, but not the content of script.
  • Loading branch information...
jamestelfer committed Sep 9, 2015
1 parent e4a1618 commit 7b93cf484ee3d106833c9ba592fd41158b343665
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectEnvVars.java
@@ -121,7 +121,7 @@ public int executeScript(boolean loadFromMaster,
return new HashMap<String, String>();
}

logger.info(String.format("Evaluation the following Groovy script content: %n%s%n", scriptContent));
logger.info("Evaluating the Groovy script content");

Binding binding = new Binding();
String jobName = envVars.get("JOB_NAME");

0 comments on commit 7b93cf4

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