We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49689c4 commit 1373cf7Copy full SHA for 1373cf7
entrypoint.sh
@@ -20,5 +20,11 @@ fi
20
if [[ -z "${SONARCLOUD_URL}" ]]; then
21
SONARCLOUD_URL="https://sonarcloud.io"
22
fi
23
+
24
+debug_flag=''
25
+if [[ "$RUNNER_DEBUG" == '1' ]]; then
26
+ debug_flag=' --debug '
27
+fi
28
29
unset JAVA_HOME
-sonar-scanner -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} -Dsonar.host.url=${SONARCLOUD_URL} ${INPUT_ARGS}
30
+sonar-scanner $debug_flag -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} -Dsonar.host.url=${SONARCLOUD_URL} ${INPUT_ARGS}
0 commit comments