Join Slack
Powered by
Hi guys. I'm using sonarqube with detekt, but cov...
# detekt
r
Rodrigo Silva
06/01/2020, 8:16 PM
Hi guys. I'm using sonarqube with detekt, but coverage is always 0%. My configuration looks like this:
Rodrigo Silva
06/01/2020, 8:17 PM
Sem título
Rodrigo Silva
06/01/2020, 8:18 PM
Someone could help. I don't know where I'm going wrong.
a
Artur Bosch
06/01/2020, 8:20 PM
Note that sonar-detekt does not support code coverage but the official sonarqube sonar-kotlin does. Do you have configured the jacoco plugin? Are there xml reports in the build directory? See how we configured jacoco in detekt :
https://github.com/detekt/detekt/blob/master/buildSrc/src/main/kotlin/commons.gradle.kts#L94
Artur Bosch
06/01/2020, 8:21 PM
https://docs.sonarqube.org/latest/analysis/coverage/
r
Rodrigo Silva
06/02/2020, 5:35 PM
@Artur Bosch
, if you can help:
https://github.com/detekt/detekt/issues/2758
9
Views
Open in Slack
Previous
Next