SonarQube™ versions 7.9.x and 8+ only allow certain characters
[0-9a-zA-Z:-_.] in their project keys. Branch names typically contain
/ and cannot be used.
Use the same character as configured in the SonarQube™ server configuration under ‘Branch renaming for Sonar™ Project Keys’.
To replace illegal characters with the replacement character, the following sed expression can be used in your CI/CD configuration: