SC-2971 Unset JAVA_HOME before executing the scanner

This commit is contained in:
Tom Van Braband 2021-02-12 13:47:14 +01:00 committed by Tom
commit 4fed9427eb

View file

@ -20,5 +20,5 @@ fi
if [[ -z "${SONARCLOUD_URL}" ]]; then
SONARCLOUD_URL="https://sonarcloud.io"
fi
unset JAVA_HOME
sonar-scanner -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} -Dsonar.host.url=${SONARCLOUD_URL} ${INPUT_ARGS}