Creating projects with SonarQube web api

Im trying to create a project with SonarQube web api, I can't find any good tutorial to create them.
I need to analyze a code and then get the information that SonarQube provides, I need to automatize all of this in a web application.
Is this possible to do with SonarQube web api?

Upvotes: 1

Views: 8049

Answers (1)

Jeroen Heier
Jeroen Heier

Reputation: 3694

The latest SonarQube versions have an api-documentation link. For SonarCloud you can find the documentation here. The documentation to create a new project is here. If you look at the details of api/projects/create you can see the parameters needed, the changelog and a response example. This API is available since version 4.0.

Upvotes: 4

Related Questions