SonarQube version 7.0, sonarscanner on jenkins, changed files on a bitbucket pull request are given as input to the property sonar.inclusions.
1)Although we have a lot of java files to be scanned via sonar inclusions property only 1 file is indexed. What are the acceptance conditions for a file to be indexed. I found the method from github “org.sonar.api.batch.fs Interface InputFileFilter accept”, i was not able to get any clues since it is interface and i could not find its implementation.
- In our java projects some file names or file paths include patterns like
are “-” s problem?
"core - project - file.xml "
job fails with :
ERROR: Unrecognized option: -