Use a specific analysis from a different project as the New Code Period

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Community Edition

  • what are you trying to achieve
    Define a New Code Period based an an analysis from a different project. I’m only given analysis for the current project.

  • what have you tried so far to achieve this
    Project Settings > New Code Period > Define a specific setting for this project > Specific Analysis > (it only lists analysis for this project, not others).

Hi,

Welcome to the community!

Sorry, what you’re trying to do is just not something we even considered. Would you mind describing your use case?

 
Thx,
Ann

It’s really about maintaining my definition of new code. If I have to create a new forked project, I would need to be able to determine which code is new in the fork. Since every fork would be starting from scratch, Sonar scan would flag all of the code instead of the code that was just added during fork.

Hi,

Thanks for sharing. We just really didn’t consider forked projects in this. All our efforts have been around branches.

 
Ann