I asked this question on github: https://github.com/SonarSource/sonar-scanner-msbuild/issues/839
Im still unclear on what version does and why i should set it
For java I dont set it at all and it picks it up from the pom
For windows I generate a timestamp and have the scanner use that as the version
Am I doing this right? What if I didnt set the version on windows or java scans? I’m really confused about how this works and how it works with branches.
I just assumed every time I scan the scanner ships that analysis to the server and it sees that as a new scan. If I dont set the version does sonar server clobber the current scan? What would that do just prevent me from getting historical metrics for scans over time?
should i set the version to a timestamp for ALL scans of all platforms?