From 29d88e0049288e0fc43046c125d344a8b49204a6 Mon Sep 17 00:00:00 2001 From: "antoine.vinot" <antoine.vinot@sonarsource.com> Date: Fri, 12 Jul 2024 08:43:09 +0200 Subject: [PATCH] Testing QA --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 89d173d..be1a409 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -23,8 +23,8 @@ fi debug_flag='' if [[ "$RUNNER_DEBUG" == '1' ]]; then - debug_flag=' --debug ' + debug_flag='yes' fi unset JAVA_HOME -sonar-scanner "${debug_flag}" -Dsonar.projectBaseDir="${INPUT_PROJECTBASEDIR}" -Dsonar.host.url="${SONARCLOUD_URL}" ${INPUT_ARGS} +sonar-scanner ${debug_flag:+" --debug "} -Dsonar.projectBaseDir="${INPUT_PROJECTBASEDIR}" -Dsonar.host.url="${SONARCLOUD_URL}" ${INPUT_ARGS}