We don’t inherit. However, we did get the JVM settings to work to get through the issue - we just had to set it as a variable rather than a environment variable (and 512 seems to be enough for us). i.e.:
- pipe: sonarsource/sonarcloud-scan:1.0.1
variables:
SONAR_SCANNER_OPTS: -Xmx512m
SONAR_TOKEN: ${SONARCLOUD_TOKEN}
EXTRA_ARGS: -Dsonar.host.url=https://sonarcloud.io