Hi,
I can’t find the download section of SonarScanner when I visit the documentation on SonarQube Docker and it’s returning me a CORS error from https://update.sonarsource.org/scannercli.json
- versions used (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube Docker - sonarqube:8-community
- error observed (wrap logs/code around triple quote ``` for proper formatting)
(index):1 Access to fetch at 'https://update.sonarsource.org/scannercli.json' from origin 'http://localhost:9000' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://docs.sonarqube.org' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
- steps to reproduce
- Login to SonarQube projects dashboard
- Click Add Project
- Enter a project name and display key and then click set up
- Provide a token and proceed to Run analysis on your project
- What option best describes your build? = Other
- What is your OS? = Any
- Click Download and navigate to the docs
- potential workaround
Visiting the online docs at SonarScanner | SonarQube Docs to download SonarScanner