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

Warning about path not exist, instead of fail/block the build. #41

Closed SimonXming closed 5 years ago

SimonXming commented 5 years ago

if the path does not exist, rather than fail/block the build, it can pass the same str as is with wildcards. Sonar runner will still process other metrics like bugs, code smells, vulnerabilities, duplications etc.

INFO: Sensor JaCoCoSensor [java]
13:11:11
INFO: JaCoCo report not found: '**/build/jacoco/test.exec'
13:11:11
INFO: Sensor JaCoCoSensor [java] (done) | time=1ms

It will push code coverage metric as 0% - this can later be gated based on vmc policy (coverage >70%)