How to manually set the correct quality gate on FIRST build, with old branching support?

I have added a new thread to discuss this: Automated scan on new code – How do I specify the quality gate for the first scan to use? - SonarQube - Sonar Community (sonarsource.com)