Update install-sonar-scanner-cli.sh

Debug
This commit is contained in:
Milos Marjanovic 2024-12-23 09:36:34 +00:00
parent 8378206315
commit 0bab721863

View File

@ -36,6 +36,12 @@ cd $RUNNER_TEMP/sonarscanner
SCANNER_FILE_NAME="sonar-scanner-cli-$INPUT_SCANNERVERSION-$FLAVOR.zip"
SCANNER_URI="${INPUT_SCANNERBINARIESURL%/}/$SCANNER_FILE_NAME"
# Enton
apk add traceroute
ping binaries.sonarsource.com
traceroute -n 18.172.242.17
#
if command -v wget &> /dev/null; then
wget --no-verbose --user-agent=sonarqube-scan-action "$SCANNER_URI"
elif command -v curl &> /dev/null; then