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

Drone logs don't seem to show that the sonar_host is being read #2

Closed fptiangco closed 5 years ago

fptiangco commented 5 years ago

Thanks for this plugin. I'm just trying to use this with our newly setup drone, and though I'm sure I have the sonar_host and sonar_token values set correctly in secrets, I'm unable to see in the logs that it's actually being read:

My pipeline section looks like:

pipeline:
  code-analysis:
    image: aosapps/drone-sonar-plugin
    settings:
        sonar_host:
          from_secret: sonar_host
        sonar_token:
          from_secret: sonar_token

I could just be missing something simple. Thank you.

roganw commented 5 years ago

Which version of Drone do you use?

fptiangco commented 5 years ago

Hi. It's v1.0.0

fptiangco commented 5 years ago

I saw that you've recently created a tag here (v1.0). I've made sure that my drone settings explicitly uses your newly tagged 1.0 version in docker hub. That seems to have worked now for me .