aosapps / drone-sonar-plugin

The plugin of Drone CI to integrate with SonarQube (previously called Sonar), which is an open source code quality management platform.
MIT License
30 stars 51 forks source link

Pass branch name to Sonar #8

Closed saitho closed 4 years ago

saitho commented 4 years ago

This change provides the name of the branch to SonarQube. I just pushed a container with this feature to https://hub.docker.com/r/saitho/drone-sonar-plugin

Worked fine for me. Please review.

saitho commented 4 years ago

This actually breaks the initial scan which requires to run without a branch. I will add a setting for enabling/disabling passing the branch to Sonar. Default value will be disabled.

saitho commented 4 years ago

FIxed and Docker image updated.