How to change sonarqube projectversion number dynamically in jenkins

I’m using the “SonarScanner for MSBuild for Jenkins” and i’m trying to change sonarQube projectVersion number automatically.
I have a windows system variable that contains the number that i want put in this window.
I try in many diferents ways:

ProjectVersion: %MY_GLOBAL_VARIABLE%
ProjectVersion: {%MY_GLOBAL_VARIABLE%} ProjectVersion: {MY_GLOBAL_VARIABLE}

In any of this ideias worked.
Does anyone knows whow can I call this variable? Its possible do that using this Jenkins’ block?

It works If I put the function in a Windows batch command, but I loose links that is show in Jenkins’ main page.

G:\jenkins-slave\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\sonar\SonarScanner.MSBuild.exe begin 

Variable that I’m telling you about and Links that I loose if I use a Windows batch command:

If I recall correctly, you should use $MY_GLOBAL_VARIABLE.