Skip to content

Commit 4fed942

Browse files
SC-2971 Unset JAVA_HOME before executing the scanner
1 parent 32ea611 commit 4fed942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ fi
2020
if [[ -z "${SONARCLOUD_URL}" ]]; then
2121
SONARCLOUD_URL="https://sonarcloud.io"
2222
fi
23-
23+
unset JAVA_HOME
2424
sonar-scanner -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} -Dsonar.host.url=${SONARCLOUD_URL} ${INPUT_ARGS}

0 commit comments

Comments
 (0)