Sonar Analysis on Mulitple Project [Git and SVN]

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Sonar Analysis on Mulitple Project [Git and SVN]

softwareforums2013
Hi Everyone,

We have multiple projects. In the past we have been running sonar analysis only one one project which uses SVN and now we would like to run sonar analysis on other project as well which uses Git as repository. How can I configure my project to tell sonar analysis when you do ananlysis on Project A, its SVN scm and when you do sonar analysis on Project B, its Git scm.

Thank you everyone
Reply | Threaded
Open this post in threaded view
|

Re: Sonar Analysis on Mulitple Project [Git and SVN]

softwareforums2013
Hi Everyone,

Currenlty when I run sonar analysis with configuring Git scm, I get [WARN] message saying: Fail to retrieve SCM info of : c:\asdfsaf\asdfsdf\adsfsdfasdf\asdfsdf.java. Reason The git blame command failed. 'git' is not recognized as internal or external command, operable program or batch file.
Reply | Threaded
Open this post in threaded view
|

Re: Sonar Analysis on Mulitple Project [Git and SVN]

Baptiste Mathus-4
Hi,
Is the Git executable in the PATH?

Cheers

2015-05-12 15:52 GMT+02:00 softwareforums2013 <[hidden email]>:
Hi Everyone,

Currenlty when I run sonar analysis with configuring Git scm, I get [WARN]
message saying: Fail to retrieve SCM info of :
c:\asdfsaf\asdfsdf\adsfsdfasdf\asdfsdf.java. Reason The git blame command
failed. 'git' is not recognized as internal or external command, operable
program or batch file.



--
View this message in context: http://sonarqube.15.x6.nabble.com/Sonar-Analysis-on-Mulitple-Project-Git-and-SVN-tp5035282p5035284.html
Sent from the SonarQube Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: Sonar Analysis on Mulitple Project [Git and SVN]

softwareforums2013
It was not and I set the path variables and now its working as expected. Thank you and cheers Sonar