Automating the sonarqube analysis trigger

(Rehanul Haque) #1

Hi Everyone,
I am using sonarqube 6.7 , developer’s version and I run analysis through sonar scanner msbuild from my local machine . Is there any way to :
1 ) Trigger this analysis automatically without using sonar scanner , on code check-in ?
2 ) Can I get analysis report in mail ?
What do I have to do for each of these ?
Thanks in Advance!

(G Ann Campbell) #2

Hi,

SonarQube is really intended to be a centralized team resource. As such, analysis should be run from your CI system, which can be set up to detect new commits and run analysis automatically.

Regarding emails, you can choose to subscribe to specific Quality Gate and Issues notifications, but there is no general analysis overview notification.

 
HTH,
Ann