-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analysis successfull, but failing on reading scanner report #11
Comments
Oh dear. Looks like older SonarQube servers don't report a version... I think changing the implementation would be trivial: Alternative option: |
Thanks for looking into this, alternative option looks good to me :) Nice work btw! |
Please give v0.0.31 of the resource a try and let me know if your problem has been solved. |
nope:
When i run that line code locally:
But in the container it gives an exit 6 >> CURLE_COULDNT_RESOLVE_HOST |
That error seems pretty strange. I'll have to think about that a bit.... |
Is it ok for now to keep it undefined? Else i can ask ops to upgrade sonar :) |
I think undefined is an option. Didn't have the time though, to provide another patch. Will try to deliver one until the end of the week. |
Older versions of SonarQube don't put a serverVersion property into sonar-report.txt. It is possible, to fetch the server version by using the REST API, though. Fixes cathive#11
I run a standard build on a JavaScript project which results into an error state, while the report is being sent to SonarQube.
log output:
If i login to that container i can see this report-task.txt
I have no clue why the concourse task of this analysis is failing. The call to https://sonar.FOOBAR.com/api/server/version gives me 5.6.6
The text was updated successfully, but these errors were encountered: