Avoid automatic creation new project from sonarscanner

Hi everyone!

version: sonarqube datacenter edition Version 8.8 (build 42792)

I want to know if when I run sonarscanner from my pipeline is there any way to prevent the project from being created automatically? From my CI/CD pipeline, if someone run one build of sonarscanner, this create the project in SonarQube, and this is consuming license. I don’t want this because the projects in SonarQube are created and configurated for me through API calls.

Thank’s!

Hey there.

You need to make sure the user(s) running analysis does not have the global Create Projects permission – this will prevent projects being created at analysis time.