cathive / concourse-sonarqube-resource

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

Error handling for the sonar task status errors #33

Closed rekhamitt closed 5 years ago

rekhamitt commented 5 years ago

The errors from the sonarqube API are not handled in the in assets for example the REST API api/ce/task?id=BWheiRXvR9w4NSuhAEkx&additionalField=stacktrace,scannerContext sonarqube response: {"errors":[{"msg":"No activity found for task 'BWheiRXvR9w4NSuhAEkx'"}]}

The cathive sonarqube resource silently fails with an empty output

rekhamitt commented 5 years ago

screen shot 2019-01-24 at 9 01 56 am