javamachr / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
123 stars 23 forks source link

Make the GitLab status name configurable #31

Closed ghost closed 2 years ago

ghost commented 2 years ago

Problem

Currently every commit status created by this plugin has the name sonarqube. This is fine as long as a project only has a single SonarQube analysis run on it. However, we would like to run multiple analyses and we would like these to create separate external jobs in GitLab.

Solution

Create a new configuration option called sonar.gitlab.status_name. This allows us to configure the name of the created external job.

javamachr commented 2 years ago

Thanks a lot! I just released v5.3.0 with this PR included.

ghost commented 2 years ago

Amazing, thank you very much for the quick reaction!