mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-05 19:53:36 +00:00
Testing QA
This commit is contained in:
parent
bdec21efd9
commit
86f2bbdd77
1 changed files with 5 additions and 5 deletions
|
|
@ -21,10 +21,10 @@ if [[ -z "${SONARCLOUD_URL}" ]]; then
|
|||
SONARCLOUD_URL="https://sonarcloud.io"
|
||||
fi
|
||||
|
||||
debug_flag=''
|
||||
if [[ "$RUNNER_DEBUG" == '1' ]]; then
|
||||
debug_flag=' --debug '
|
||||
fi
|
||||
|
||||
debug=""
|
||||
[[ "$RUNNER_DEBUG" == '1' ]] && debug="yes"
|
||||
|
||||
unset JAVA_HOME
|
||||
sonar-scanner "$debug_flag" -Dsonar.projectBaseDir="${INPUT_PROJECTBASEDIR}" -Dsonar.host.url="${SONARCLOUD_URL}" "${INPUT_ARGS}"
|
||||
|
||||
sonar-scanner ${debug:+"--debug"} -Dsonar.projectBaseDir="${INPUT_PROJECTBASEDIR}" -Dsonar.host.url="${SONARCLOUD_URL}" "${INPUT_ARGS}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue