we have used the env:msg merge but it did take the default value in variables tab. We were unable to assign a value.Even though we see the value in the previous step
The code that assigns the value
$env:msgmerge = 'Git Merge to Master After Deployment Repo:' + "$(reponame)"
Write-Output $env:msgmerge
Environment variables created with $env: are Process variables, so they're lost when the process exits and we can't access them from another process (PowerShell instance).