Skip to content
Permalink
Browse files

Skip log message which spams log output on console

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 098d76f8012a33f93bec1531b9cfd47a08b6a5ae
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/main/java/org/jenkinsci/plugins/xunit/service/XUnitConversionService.java
@@ -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) {

0 comments on commit 098d76f

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