Where do you find the Project ID for the DevOps Platform integration?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • sonarqube 9.9.0.65466 developer edition
  • how is SonarQube deployed: zip, Docker, Helm
  • zip

I couldnt the find the project ID for the DevOps Platform integration although under sonarqube website says it should be on the project overview page as shown in the picture below.

First of all, which DevOps platform are you integrating with?

Azure DevOps asks for Project name, Bitbucket needs Project key, Github looks for Repository identifier.

So I assume that this is GitLab.

Take a look at StackOverflow.

just found out an even easier way to get the project id: just see the HTML content of the gitlab page hosting your project. There is an input with a field called project_id, e.g:

<input type="hidden" name="project_id" id="project_id" value="335" />

or

Thanks, I didn’t see it right away but was able to print it to the console with a little js: document.getElementById('project_id').value

or

On the Edit Project page there is a Project ID field in the top right corner.

Hope it helps.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.