mirror of
https://github.com/sonarsource/sonarcloud-github-action.git
synced 2026-06-06 00:17:09 +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"
|
SONARCLOUD_URL="https://sonarcloud.io"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
debug_flag=''
|
|
||||||
if [[ "$RUNNER_DEBUG" == '1' ]]; then
|
debug=""
|
||||||
debug_flag=' --debug '
|
[[ "$RUNNER_DEBUG" == '1' ]] && debug="yes"
|
||||||
fi
|
|
||||||
|
|
||||||
unset JAVA_HOME
|
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