Hey there.
Could you try this solution, setting the SONAR_SCANNER_OPTS environment variable in your pipeline?
SONAR_SCANNER_OPTS