SonarQube waitForQualityGate step in Jenkins is using the wrong URL

I searched that error on this very forum (plus the word jenkins) and found a lot of useful posts