-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins version: 2.7.2
XUnit Plugin version: 1.102
JUnit Plugin version: 1.18
Environment: Windows Server 2008 R2 Standard
Jenkins hangs when trying to publish an NUnit testresult in a multiple pipeline project.
To fix the problem I have to kill the java process and restart jenkins (it just consumes more and more memory.
My pipeline (JenkinsFile) is configured as:
stage 'Build' // Build is done here (through msbuild) // Tests are run here which generates "UnitTests_TestResults_NUnit.xml" stage 'Publish test results in NUnit format' step([$class: 'XUnitPublisher', testTimeMargin: '3000', thresholdMode: 1, tools: [[$class: 'NUnitJunitHudsonTestType', deleteOutputFiles: true, failIfNotNew: true, pattern: '**/*TestResults_NUnit.xml', skipNoTestFiles: false, stopProcessingIfError: true]]])
The attached XML file was generated by xUnit.net with the /nunit option set.
I also tried to publish a xunit.net testreport - it fails in the same way:
stage 'Build' // Build is done here (through msbuild) // Tests are run here which generates "UnitTests_TestResults_NUnit.xml" stage 'Publish test results in XUnit.Net format' step([$class: 'XUnitPublisher', testTimeMargin: '3000', thresholdMode: 1, tools: [[$class: 'XUnitDotNetTestType', deleteOutputFiles: false, failIfNotNew: true, pattern: '**/*_TestResults_XUnit.xml', skipNoTestFiles: false, stopProcessingIfError: true]]])
- duplicates
-
JENKINS-36956 Pipeline hangs on JUnitResultArchiver step with test publishers
- Open