Skip to content

Commit

Permalink
SC-2971 Unset JAVA_HOME before executing the scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-vanbraband-sonarsource committed Apr 13, 2021
1 parent 32ea611 commit 4fed942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 4fed942

Please sign in to comment.