mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-08 06:17:13 +00:00
SC-2971 Unset JAVA_HOME before executing the scanner
This commit is contained in:
parent
32ea6119a4
commit
4fed9427eb
1 changed files with 1 additions and 1 deletions
|
|
@ -20,5 +20,5 @@ fi
|
||||||
if [[ -z "${SONARCLOUD_URL}" ]]; then
|
if [[ -z "${SONARCLOUD_URL}" ]]; then
|
||||||
SONARCLOUD_URL="https://sonarcloud.io"
|
SONARCLOUD_URL="https://sonarcloud.io"
|
||||||
fi
|
fi
|
||||||
|
unset JAVA_HOME
|
||||||
sonar-scanner -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} -Dsonar.host.url=${SONARCLOUD_URL} ${INPUT_ARGS}
|
sonar-scanner -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} -Dsonar.host.url=${SONARCLOUD_URL} ${INPUT_ARGS}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue