False invalid branch name error

sonarcloud
github

(Llorenç Garcia Martinez) #1
  • Versions: SonarQube Scanner 3.0.3.778 on Travis-CI with sonnarcloud.io
  • Error observed:
ERROR: Error during SonarQube Scanner execution
ERROR: 'greenkeeper/@types/socket.io-2.1.1' is not a valid branch name. It can only contain 'A-Z', 'a-z', '0-9', '-', '_', '.', and '/')
  • How to reproduce: create a branch name with an @ and scan it.
  • Workaround: use of git check-ref-format --branch to check for valid branch names.

greenkeeper/@types/socket.io-2.1.1 is a valid branch name.


(Julien Lancelot) #2

Hi,

This issue will be fixed by https://jira.sonarsource.com/browse/SONAR-11561.

Regards,
Julien Lancelot


(Llorenç Garcia Martinez) #3

Thank you Julien.


(Radovan Jupa) #4

Hi,

we have same issue, but our special characters are letters from czech alphabet, i.g ěščřžýáíéóúůďň

For example: feature/Složka-zákazníka is valid git branch name