I wish to get GIT url and put it to google-analytics, in order to know which project is using my plugin.
Is there API to get these information? otherwise I would call git command line.
Thanks
I wish to get GIT url and put it to google-analytics, in order to know which project is using my plugin.
Is there API to get these information? otherwise I would call git command line.
Thanks
I am not sure in what context you want to retrieve the SCM information, you can either query the web api https://next.sonarqube.com/sonarqube/web_api/api/project_links
or if it’s in the plugin context, you can try to read sonar.links.scm
property , which is set by some scanner flavors.