- ALM used GitHub
- CI system used GitHub actions
- Languages of the repository: Kotlin
- SonarCloud project https://sonarcloud.io/dashboard?branch=static_analysis&id=RakipInitiative_fskx_validator
- Error observed
As you can see in the SonarCloud project no issues are reported yet these are generated with detektMain in Gradle and according to the Sonarqube plugin they are imported:
Importing /home/runner/work/fskx_validator/fskx_validator/build/reports/detekt/main.xml Sensor Import of detekt issues [kotlin] (done) | time=42ms
These is from lines 995 and 996 in the log.
The issues are generated and listed with detektMain. Check in log.
- Steps to reproduce: detekt report is generated via Gradle in a GitHub action with
./gradlew build detektMain jacocoTestReport sonarqube --info. Link to GitHub action.
Finally, did I do something wrong with the Detekt report? I tested it locally and the report seems fine and I can see all the issues. The SonarQube plugin is not complaining of this report either. Do I need to configure something in the SonarQube plugin?
Lots of thanks,