I’ve a question regarding usage of sonar-scanner (sonar-scanner-cli-126.96.36.19906-linux) with SonarQube Enterprise Edition 10.1.
We are using flag
In order to have valid comparison of new code with a branch which was already scanned.
Problem is that this flag is looking for specified branch in SCM, and it’s doing it only for branches →
00:13:46 WARN: Could not find ref ‘smf-188.8.131.52’ in refs/heads, refs/remotes, refs/remotes/upstream or refs/remotes/origin
and in our project we are mostly working with tags →
git ls-remote | grep 184.108.40.206
Do You know if there is some way to “force” above flag to look for specified value also under “refs/tags” ?
Of course above tag (smf-220.127.116.11) is already scanned in my project but still comparison can’t be done cause it can be find by sonar-scanner in SCM…