You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I think the coverage.xml is created, the build tends to exit with an error if some tests fail, causing Jenkins to not publish the report. Is there any way around this? It's odd, because the Cobertura Publish plugin in my job is not set up to fail under these conditions, I don't think (expanded the Advanced options).
The text was updated successfully, but these errors were encountered:
Is the Cobertura Publish plugin a Gradle plugin or a Jenkins one?
If it is a Gradle plugin, then the problem is most likely that Gradle is failing the build as soon as a task fails. I set up the cobertura task to finalize test tasks so that it will always run, but other tasks in the build will fail.
If it is a Jenkins plugin, my guess is that the step that runs the publish is not running when prior steps fail, though I am not too familiar with Jenkins.
Although I think the coverage.xml is created, the build tends to exit with an error if some tests fail, causing Jenkins to not publish the report. Is there any way around this? It's odd, because the Cobertura Publish plugin in my job is not set up to fail under these conditions, I don't think (expanded the Advanced options).
The text was updated successfully, but these errors were encountered: