问题
I have the following situation:
project A
- sub module A
- sub module B
I want to move the sub module B to another project:
project B
- sub module B
But now sonarQube comes up with the following error:
Module "submoduleB" is already part of project "projectA"
I could rename key in project A so that it can be used again in project B but then I probably lose the history. Thus, how can I transfer the module's history to another project?
回答1:
You can't transfer the history.
You could recreate it using sonar.projectDate (docs), but you'll have to do that for the project as a whole; you can't retroactively insert new data into old analyses.
来源:https://stackoverflow.com/questions/44967387/sonarqube-transfer-module-to-another-project