Recieving exception hudson.AbortException: None of the test reports contained any result

Article ID:204746880
1 minute readKnowledge base

Issue

Build stopping due to exception "hudson.AbortException: None of the test reports contained any result"

Environment

CloudBees Jenkins Enterprise

Resolution

If a test does not return any results (in the report XML file), Jenkins will treat it as a failure. Verify that each test run for each job returns some results (and that each job has a test) and re-run the build.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.