In the past several weeks we have observed a strange behavior we are running SonarQube CE 8.3.1. When running SonnarScanner-CLI (any version) our pipelines fail and we receive the following message:
ERROR: Error during SonarQube Scanner execution
ERROR: Malformed key for Project: ‘ACDSS:release/1.0.0’. Allowed characters are alphanumeric, ‘-’, ‘_’, ‘.’ and ‘:’, with at least one non-digit.
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
The strange thing about what is happening is that it only happens when we create a “new branch” in Bitbucket Server and the Bamboo server (both running on-prem) runs the pipeline. All of our current branches are being scanned with no issues and include the “/” as part of the branch name.
Here is where things get really weird with the newly created branches if we substitute the branch from ‘ACDSS:release/1.0.0’ to ‘ACDSS:release-1.0.0’ or ‘ACDSS:release_1.0.0’ the scan completes properly and is uploaded to SonarQube.
Does anyone have any idea of what might be going on considering that it has been running for 2+ years using the “/” as part of the branch name. I am wondering what I am doing wrong?
Thanks in advance for any guidance and/or suggestions.