質問

We have a Jenkins master hosted by Cloudbees and we are using Sonar-as-a-Service.

We have a regular maven project, and we are using the Sonar "Post Build Action" to successfully collect code coverage. I see the code coverage % in Sonar. Everything works fine.

My question is this: If I examine the Jenkins workspace of this project, I cannot find the code coverage results. I thought it would be saved in an xml file somewhere in the target directory, but i do not see it. Does sonar save the results in the Jenkins workspace somewhere?

Thanks!

役に立ちましたか?

解決

Sonar uses Jacoco by default for test coverage, this one uses a binary file afaik

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top