Update install-sonar-scanner-cli.sh
This commit is contained in:
parent
3833fb9b0a
commit
8473d310e8
@ -36,20 +36,6 @@ cd $RUNNER_TEMP/sonarscanner
|
|||||||
SCANNER_FILE_NAME="sonar-scanner-cli-$INPUT_SCANNERVERSION-$FLAVOR.zip"
|
SCANNER_FILE_NAME="sonar-scanner-cli-$INPUT_SCANNERVERSION-$FLAVOR.zip"
|
||||||
SCANNER_URI="${INPUT_SCANNERBINARIESURL%/}/$SCANNER_FILE_NAME"
|
SCANNER_URI="${INPUT_SCANNERBINARIESURL%/}/$SCANNER_FILE_NAME"
|
||||||
|
|
||||||
# Enton
|
|
||||||
ps axu
|
|
||||||
apk update
|
|
||||||
apk add iproute2 bind-tools
|
|
||||||
ip a
|
|
||||||
ip r
|
|
||||||
ss -tulnp
|
|
||||||
dig binaries.sonarsource.com
|
|
||||||
ping -c 4 -W 1 -i 1 binaries.sonarsource.com
|
|
||||||
sleep 5
|
|
||||||
ss -tulnp
|
|
||||||
ps axu
|
|
||||||
#
|
|
||||||
|
|
||||||
if command -v wget &> /dev/null; then
|
if command -v wget &> /dev/null; then
|
||||||
wget --no-verbose --user-agent=sonarqube-scan-action "$SCANNER_URI"
|
wget --no-verbose --user-agent=sonarqube-scan-action "$SCANNER_URI"
|
||||||
elif command -v curl &> /dev/null; then
|
elif command -v curl &> /dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user