Question

I have added a property to a TFS Build Workflow on the Arguments tab:

Addition of Database Projects Property

How do I reference this from an expression in my workflow? It did not come through as a public property to read and write as I expected.

If I set it with the Direction, 'In' I can read its value in an expression; it is resolved a friend variable in the workflow. Using the direction 'In' does not expose the property to be set when configuring a build, which I require.

Was it helpful?

Solution

Any input that you have pass on to the build definition through UI must be added to the Metadata argument. Click on the MetaData argument and set the values. Then it will show up in the build defintion UI.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top