-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Since we upgraded from xunit 2.4.0 to 3.0 we get this error.
08:38:52 ERROR: Build step failed with exception
08:38:52 java.lang.IllegalArgumentException: The tools section is required.
08:38:52 at org.jenkinsci.plugins.xunit.XUnitProcessor.<init>(XUnitProcessor.java:139)
08:38:52 at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:204)
08:38:52 at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
08:38:52 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
08:38:52 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
08:38:52 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
08:38:52 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752)
08:38:52 at hudson.model.Build$BuildExecution.post2(Build.java:177)
08:38:52 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:697)
08:38:52 at hudson.model.Run.execute(Run.java:1932)
08:38:52 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
08:38:52 at hudson.model.ResourceController.execute(ResourceController.java:97)
08:38:52 at hudson.model.Executor.run(Executor.java:429)
08:38:52 Build step 'Publish xUnit test result report' marked build as failure
Looks like "types" must be renamed to "tools" in config.xml.