- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- SonarQube: sonarqube-7.9.6 & tried with sonarqube-8.9.2 as well
- Scanner: SonarScanner 4.6.2.2472
- Swift Plugin: backelite-sonar-swift-plugin-0.4.4
- Swiftlint: 0.35.0
- what are you trying to achieve
- Want to see swift file code smells in sonarqube web dashboard. I do see code smells for .html, .css files but not for swift files.
- While scanner scanning report, don’t see any error. It process with below log
[17:33:24]: ▸ INFO: Sensor SwiftLint [backelitesonarswiftplugin]
[17:33:24]: ▸ INFO: Sensor SwiftLint [backelitesonarswiftplugin] (done) | time=9ms
swiftlint output is stored in swiftlint.txt which scanner scans but doesn’t see it on dashboard.
I’ve set swiftlint report path like this: sonar.swift.swiftLint.reportPaths=sonar-reports/swiftlint.txt
Please let me know if you need more information.