I can set the branch name and sonarqube project ID when I use the Sonar Scanner, which is used to publish my scanner result up to the server. How to I also set the New Code to a specific reference branch name? This link tells me know to configure it on the SonarQube web front, https://docs.sonarqube.org/latest/project-administration/new-code-period/ . But, I want to set it at the scanner. Similar to sonar.pullrequest.base, but, for a regular branch.
Is it possible? I know there are different scanners out there, so, if you know any scanner can do it, that would be great.
Thanks