You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
$ sonar-scanner -Dsonar.host.url="${SONAR_HOST_URL}" -Dsonar.login="${SONAR_TOKEN}"
[10:12:17] Starting analysis...
[10:12:17] Checking if executable exists: /root/.sonar/native-sonar-scanner/sonar-scanner-4.5.0.2216-linux/bin/sonar-scanner
[10:12:17] Could not find executable in "/root/.sonar/native-sonar-scanner".
[10:12:17] Proceed with download of the platform binaries for SonarScanner...
[10:12:17] Creating /root/.sonar/native-sonar-scanner
[10:12:17] Downloading from [https://[MASKED]/sonar-scanner-cli-4.5.0.2216-linux.zip]
[10:12:17] (executable will be saved in cache folder: /root/.sonar/native-sonar-scanner)
/usr/local/lib/node_modules/sonarqube-scanner/node_modules/got/index.js:274
throw new Error('Basic authentication must be done with auth option');
^
Error: Basic authentication must be done with auth option
at normalizeArguments (/usr/local/lib/node_modules/sonarqube-scanner/node_modules/got/index.js:274:9)
at Function.got.stream (/usr/local/lib/node_modules/sonarqube-scanner/node_modules/got/index.js:392:38)
at module.exports (/usr/local/lib/node_modules/sonarqube-scanner/node_modules/download/index.js:78:21)
at getSonarScannerExecutable (/usr/local/lib/node_modules/sonarqube-scanner/dist/sonar-scanner-executable.js:104:3)
at scanCLI (/usr/local/lib/node_modules/sonarqube-scanner/dist/index.js:31:3)
at Object.<anonymous> (/usr/local/lib/node_modules/sonarqube-scanner/dist/bin/sonar-scanner:9:1)
at Module._compile (internal/modules/cjs/loader.js:10[63](https://tools.services.zh.ch/zhservices/common/common-frontend/-/jobs/5966#L63):30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
The text was updated successfully, but these errors were encountered:
When specifying a download mirror that requires authentication...
the scan fails
The text was updated successfully, but these errors were encountered: