`sonar.branch.target` detected in 8.0?


Our sonar-scanner is runned via a gitlab-runner
Today we set “-Dsonar.branch.name=${CI_COMMIT_REF_NAME}” and for minor branch we also set “-Dsonar.branch.target=dev”

Is this second parameter is also detected in v8.0 ? Because without that I don’t see a big interest of just winning one configuration parameter, I still have to declare 2 different jobs for main and minor branches

When we bought the Developper Edition we also tried this :
Master <=target= Dev <=target= Feature/Fix branches
But this doesn’t seem to be possible

Best regards,

Hi Benjamin,

sonar.branch.target is still valid with Sonarqube 8.0, though it will be deprecated in the future,
see https://jira.sonarsource.com/browse/SONAR-12426