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

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -