Suni
(Suni)
April 13, 2023, 8:57am
1
I have wriitten this on Jenkins in Sonarqube Scanner Analysis Properties
sonar-scanner
sonar.projectKey=CICD
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=
sonar.host.url=http://144.126.147.143:9000
sonar.login=
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
Colin
(Colin)
April 13, 2023, 10:00am
2
What do the coverage logs say?
Suni
(Suni)
April 13, 2023, 11:13am
3
INFO: No LCOV files were found using ./coverage/lcov.info
WARN: No coverage information will be saved because all LCOV files cannot be found.
Colin
(Colin)
April 13, 2023, 12:10pm
4
Are you producing the LCOV report in your Jenkins pipeline to be later consumed by the scanner?
Suni
(Suni)
April 14, 2023, 11:57am
5
No there isn’t any report
Colin
(Colin)
April 15, 2023, 8:09am
6
Well… I think we can put 2 and 2 together. No report, no coverage
I suggest taking a look at the documentation on Test Coverage .
Suni
(Suni)
April 17, 2023, 5:49am
7
Colin
(Colin)
April 20, 2023, 9:51am
8
Hey there.
This isn’t a ServiceDesk. I’m not sure what you expect me to do with these logs. Did you read the documentation on test coverage, and what have you tried?