sonar-gitlab-plugin
sonar-gitlab-plugin copied to clipboard
How to generate and see the analysis report when using this plug-in
Hi, I'm using sonarqube 6.3 and the corresponding plugin version (3.0) and trying to understand what are the next steps to generate the report and see the report. Please help me on this ASAP.
Hi, Do you use mvn, gradle, sonar scanner or other ?
I'm using gradle
HI, Can you please suggest me on this at the earliest.
have you looked in the issues? #57
Thanks
Thanks for sharing this. Let me try that. Meanwhile I've coupe of questions here.
- I want to first try this in my machine before deploying it onto the server. For this, How do i do this?
- I'm using TeamCity for build. Can you please suggest me how can i use this plugin with TeamCity?
Hi added all the necessary dependencies (for this plugin) to my gradle file and also added the plug-ins required for sonar integration and I can see the build is generating sonar results but I don't see this plugin generating any report in my GitLab.
I did the below configuration in SonarQube
- Setup GItlab URL
- Setup the User Token
- Setup the Global template
I'm running the below gradle command in my local ./gradlew sonarqube
Please suggest me if I'm missing anything.
I'm using the below template from #154 in my sonarQube --> Gitlab tab
https://github.com/gabrie-allaigre/sonar-gitlab-plugin/blob/master/templates/global/all-issues.md
Hi, In #57, you are referring to gitlab-ci.yml. I think this would be come into picture if we are using gitlabci for CI/CD but we are not using that.
so my question is, when i create a merge request for changes in Gitlab, how do I configure to enable this plugin to trigger the sonarqube analysis and report it back to Gitlab and show the details with the merge request.