New code definition SonarCloud

Hi everyone,
We’re migrating from SonarQube enterprise to SonarCloud and we have a few doubts about New code definition in SonarCloud.

How can we see the current versión of ours projects?
Where is this version set? I mean, the version comes from the last version analyzed in master branch?

Thank you very much.

Hi,

It’s not clear what you’re asking or where you’re looking.

It’s set by the sonar.projectVersion value passed in during analysis. And this should be on a per-branch basis, so the main branch’s version changing won’t affect another branch.

 
Ann