mirror of
https://github.com/kitabisa/sonarqube-action.git
synced 2025-11-02 22:44:20 +08:00
🐛 Bug fixed for #2
This commit is contained in:
parent
3d458002e9
commit
07b55c6b20
@ -10,11 +10,7 @@ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${INPUT_PASSWORD}" ]]; then
|
[[ ! -z ${INPUT_PASSWORD} ]] && SONAR_PASSWORD="${INPUT_PASSWORD}" || SONAR_PASSWORD=""
|
||||||
SONAR_PASSWORD="&& true"
|
|
||||||
else
|
|
||||||
SONAR_PASSWORD="${INPUT_PASSWORD}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sonar-scanner \
|
sonar-scanner \
|
||||||
-Dsonar.host.url=${INPUT_HOST} \
|
-Dsonar.host.url=${INPUT_HOST} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user