Please document sonar.coverage.exclusions

551 views
Skip to first unread message

Adam Granger

unread,
Jan 15, 2017, 3:19:05 PM1/15/17
to SonarQube
I don't seem to be able to create issues in https://jira.sonarsource.com/browse/SONARGRADL ... so submitting here instead....

The property sonar.coverage.exclusions is very useful but not documented to best of my knowledge

Please can it be added to https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Gradle rather than having to find it via stackoverflow answers!

Thanks,

Adam.

G. Ann Campbell

unread,
Jan 16, 2017, 2:41:42 AM1/16/17
to SonarQube
Hi Adam,

We don't document exclusions properties on purpose; because of their structure, they're very difficult to configure correctly manually. Instead, you should do this through the UI.


Ann

Adam Granger

unread,
Jan 17, 2017, 2:10:14 AM1/17/17
to SonarQube
Thanks for your quick reply. I'm aware this can be documented via server, however we manage our configuration via Gradle scripts.

I note that sonarqube.coverage.exclusions appears to have exactly same format / syntax as sonarqube.exclusions, which is documented by

https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Gradle

G. Ann Campbell

unread,
Jan 17, 2017, 3:46:01 AM1/17/17
to SonarQube
Thanks for pointing that out @Adam. Fixed.
Reply all
Reply to author
Forward
0 new messages