Skip to content

Commit

Permalink
Skip log message which spams log output on console
Browse files Browse the repository at this point in the history
As already described in old issue JENKINS-7612 (https://issues.jenkins-ci.org/browse/JENKINS-7612) we get a couple of hundred of lines of console output in our Jenkins build (basically one line per test class!):

[xUnit] [INFO] - Converting '/var/buildlocal/jenkins/jobs/gerrit-ci-job/workspace@3/platform/target/test-results/myproject/TEST-com.company.Testcase12345.xml' .

The workarounds mentioned in JENKINS-7612 didn't work for us (I guess they might have worked for some ancient version) and looking at the code of src/main/java/org/jenkinsci/plugins/xunit/service/XUnitLog.java its clear that there is no filtering. IMHO this log information provides no value at all so this change removes it to avoid spamming the build output.
  • Loading branch information
jetztgradnet committed Jan 30, 2016
1 parent a86de8b commit 098d76f
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -69,7 +69,6 @@ public File convert(XUnitToolInfo xUnitToolInfo, File inputFile, File workspace,
throw new XUnitException("Can't create " + parent);
}
File junitTargetFile = new File(parent, JUNIT_FILE_PREFIX + inputFile.hashCode() + JUNIT_FILE_POSTFIX);
xUnitLog.infoConsoleLogger("Converting '" + inputFile + "' .");
try {

if (inputMetric instanceof CustomInputMetric) {
Expand Down

0 comments on commit 098d76f

Please sign in to comment.