cathive / concourse-sonarqube-resource

performs SonarQube analyses and checks quality gates https://concourse-ci.org/ https://sonarqube.org/
Apache License 2.0
46 stars 49 forks source link

Handling Sonar UserToken #32

Closed febinrejoe closed 5 years ago

febinrejoe commented 5 years ago

Fix for #31

Here's the Sonarqube documentation for using UserToken. The curl command has to be like,

curl -u THIS_IS_MY_TOKEN: https://sonarqube.com/api/user_tokens/search
# note that the colon after the token is required in curl to set an empty password 
headcr4sh commented 5 years ago

Thanks for the PR.