Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): i think I am using version 8, as I have just pull sonarqube docker image from docker hub.
- what are you trying to achieve: trying to create a project with webapi and having issue, can you please give me the exact web api that i need to use? and also do i need to run that on the container or on the machine
- what have you tried so far to achieve this: followed the project create document from API : https://sonarcloud.io/web_api/api/projects
and also followed : Create project with WebAPI
But go confused, so I want to run the docker image of sonarqube on my machine and then once the sonar container up, that should be reachable from my localhost:9000 and then I want to create a project using web-api. but not also sure that this project creating web api where I should call from?
I am using the following command :
curl -s -u admin:admin ‘https://localhost:9000/web_api/api/projects/create?project=ourgitlab&organization=some-org&name=sonar-project’
but it not giving me any output, please need help