Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import project into Sonar

Tags:

sonarqube

Is there anyway to migrate individual projects and merge them into an existing instance of Sonar?

Background:

I've setup a new instance of Sonar by performing a normal backup and restore. Another team, also using Sonar, want to migrate their projects over to this new server as well. I'm now faced with a data merging problem.

like image 370
Mark O'Connor Avatar asked Nov 15 '22 04:11

Mark O'Connor


1 Answers

This is currently not possible. The best way to achieve this is to replay the project history by running Sonar analyses with the "-Dsonar.projectDate=xxxx-xx-xx" property.

For more information, take a look a the "sonar.projectDate" description on the "Analysis Parameters" documentation page.

like image 161
Fabrice - SonarSource Team Avatar answered Feb 17 '23 02:02

Fabrice - SonarSource Team