I'd like to be able to read and update plan and global variables from PowerShell scripts. Ive seen that you should be able to take a variable like
bamboo.buildNumber
and access it in script by using
$bamboo_buildNumber
and i've also seen that you need to do
$BAMBOO_BUILDNUMBER
but neither is working for me.
What's the correct way to access these varialbes? And can you set them and then have that value available to other tasks, stages, deployment projects, ect...