-
Improvement
-
Resolution: Duplicate
-
Minor
-
None
JUnit report publication will fail if there are no unit test report XML files. I'd like to have this behaviour configurable, so that I can ignore this error.
Cobertura reporting (for example) has a job option "Fail builds if no reports".
In the job config.xml file for Cobertura reporting, you'll see
<failNoReports>false</failNoReports>
- duplicates
-
JENKINS-12815 Add an option to select Build status when no Test is found
-
- Resolved
-
- is related to
-
JENKINS-7970 If all JUnit tests are skipped, the build fails
-
- Resolved
-
I create build jobs automatically, sifting through the repository and running a job to create the jobs from a standard template. Most all of my jobs have unit tests. Some "very few" projects (in their initial state) have no unit tests. I'd rather see them as unstable rather than failed.