I am using the new agent build system with TFS 2015 and TFS "15" and have SonarQube tasks in my build to do source code analysis.
Now I would like to increase the version sent to SonarQube on every build. I tried the following to achive that:
But that does not work - the version is sent to SonarQube as it is there and not with the inserted build id.
How can I pass an increasing version number to SonarQube?
Did you try $(Build.BuildNumber)?
Any way, all the available build variables can be found here