Hi Everyone,
I've been using using sonar at work on a large project with a large number of developers for over two years. I'm on sonar server 5.5 and sonar-runner2.5. I'm really thankful for the help this community has provided in the past.
I'm generating jacoco and junit output from my builds using maven and surefire.
We've got a sonar scanner (not maven) running on our continuous integration server in analysis.mode=publish to send coverage results to the sonar server.
It would be great if people could see their coverage results prior to pushing. (By running the sonar scanner locally with analysis.mode=publish on - and then parsing the job json api).
My question is: Can you use the maven sonar scanner with analysis.mode=publish to detect a coverage failure locally? (Prior to a commit)
Cheers
Julian