Must-share information (formatted with Markdown):
- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - sonarversion v10.8.1
- how is SonarQube deployed: Docker
- what are you trying to achieve - Trying to use SonarSource/sonarqube-scan-action@v4.2.0 or v4.1.0 for sonar analysis
- what have you tried so far to achieve this - i have used the latest versions v4.2.0 and 4.1.0 sonar action failed due to below error mentioned.
line no. 35 , causing the issue with option --no-verbose.
wget --no-verbose --user-agent=sonarqube-scan-action ā$SCANNER_URIā
if we runt he command with
wget -nv --user-agent=sonarqube-scan-action ā$SCANNER_URIā , its working ā¦
Could you check and respond and correct me if i am wrong. Detailed logs pasted below.
Do not share screenshots of logs ā share the text itself (bonus points for being well-formatted)!
Run SonarSource/sonarqube-scan-action@v4.2.0
Run ${GITHUB_ACTION_PATH}/scripts/sanity-checks.sh
Run actions/cache@v4
/usr/bin/docker exec 80903b464aec7165605a7b3807fbc1777e81a73497d6b429c39a9810e6b23542 sh -c ācat /etc/*release | grep ^IDā
Cache not found for input keys: sonar-scanner-cli-6.2.1.4610-Linux-ARM64
Run ${GITHUB_ACTION_PATH}/scripts/install-sonar-scanner-cli.sh
- mkdir -p /__w/_temp/sonarscanner
- cd /__w/_temp/sonarscanner
- SCANNER_FILE_NAME=sonar-scanner-cli-6.2.1.4610-linux-aarch64.zip
- SCANNER_URI=https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.1.4610-linux-aarch64.zip
- command -v wget
- wget --no-verbose --user-agent=sonarqube-scan-action https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.1.4610-linux-aarch64.zip
wget: unrecognized option āāno-verboseā
BusyBox v1.36.1 () multi-call binary.
Usage: wget [-cqS] [āspider] [-O FILE] [-o LOGFILE] [āheader STR]
[āpost-data STR | --post-file FILE] [-Y on/off]
[-P DIR] [-U AGENT] [-T SEC] URLā¦