sonar-scanner-msbuild icon indicating copy to clipboard operation
sonar-scanner-msbuild copied to clipboard

Allow digits only project key for SonarCloud

Open sebastien-marichal opened this issue 1 year ago • 2 comments

See this internal post for more context.

SonarCloud allows project keys with only digits such as 1989, when invoking S4NET with such a key, it will produce the following error:

Invalid project key. Allowed characters are alphanumeric, '-', '_', '.' and ':', with at least one non-digit.

sebastien-marichal avatar Jan 26 '24 09:01 sebastien-marichal

I've updated the Discuss post. Please review.

This is under analysis. The policy might need to be enforced in SonarCloud. Waiting for feedback.

sebastien-marichal avatar Jan 29 '24 07:01 sebastien-marichal