Skip to content

Commit

Permalink
Fixes JENKINS-23274: remove log of script content
Browse files Browse the repository at this point in the history
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 16, 2015
1 parent e4a1618 commit 7b93cf4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -121,7 +121,7 @@ public Map<String, String> executeAndGetMapGroovyScript(EnvInjectLogger logger,
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");
Expand Down

0 comments on commit 7b93cf4

Please sign in to comment.