We want to use TFS 2015.3 Release Management to package / deploy our software. For one of our release tasks, we need access to Release Artifact Variables in one of our Powershell scripts.
But each time we try to access one of these variables RELEASE_ARTIFACTS_ [source-alias] _BUILDNUMBER, for example, the following error message appears:
[error] The term Release_Artifacts_ [source-alias] _BUILDNUMBER is not recognized as the name of a cmdlet, function, script file, or executable program. Check the spelling of the name or if the path was included, check the path and try again.
I already tried to print all available environment variables using the built-in powershell script with the following expression: Get-ChildItem Env :. But these variables were not in any case.
Are there any known issues when using Release Artifact variables?
source
share