Sonarqube Coverage Exclusion Paths

we use sonarqube enterprise edition 20M version.
I would like to exclude from sonarqube server interface coverage exclusions(2. screenshot) coverage paths which is painted yellow below screenshot. I used these patterns but they didnt work. I added as photo.because when ı used star chracter it is turning to bold charachter :slight_smile: Which pattern should I use exclude yellow painted paths?

project paths needed to be excluded.


sonarqube server screenshot below


I would have expected those to work, especially the one that starts with **/. I’ve tried to eyeball the two paths for typos, but nothing’s jumping out at me. I suppose you did a copy/paste of the path, just to make sure?

Can you

  • try it with ** at the beginning and *.java at the end (I don’t think you should need this, but let’s just cross it off the list)
  • share your analysis log


The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.