VSTS builds - how to define new variable in custom build step and pass to next build steps -
we using vsts build our vs solution.
is there way define custom build step, example powershell script, creates new variable passed further build steps?
there's nothing in msdn: https://msdn.microsoft.com/library/vs/alm/build/scripts/variables
you can use task logging commands this.
to invoke logging command, emit command via standard output. example, powershell task:
"##vso[task.setvariable variable=testvar;]testvalue"
Comments
Post a Comment