Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create a custom variable in VSTS build powershell task
#output to stdout in special format
Write-Host ("##vso[task.setvariable variable=ThisIsMyVariable;]somevalue")
# reuse in subsequent tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.