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

How can i transfer drone_branch variable into sonar-project.properties? #18

Closed gth7754125 closed 4 years ago

gth7754125 commented 4 years ago

i want to transfer DRONE environment variable to specify some of sonar properties. How can i do this ??

gth7754125 commented 4 years ago

use environment to set variable, and write ${env.xxxx} in your properties file to use the environment variable.