Skip to content

Clarify documentation of variables in TFS build #595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

pascalberger
Copy link
Member

Clarify documentation of variables in TFS build and add section about known limitations in VSO Agent at the moment.

See [Variables](/more-info/variables/) for an overview of available variables.

Note that due to [current limitations in VSO](https://github.com/Microsoft/vso-agent-tasks/issues/380) it's currently not possible to set the build version inside of VSO to one of the GITVERSION_* variables.
#### Known limitations
* Due to a bug in VSO it's currently not possible to use variables added during build in inputs of subsequent build tasks, since the variables are processed at the beginning of the build.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe here also say the workaround (use environmental variables instead) too

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like this OK:
As a workaround environment variables can be used in custom scripts.

(env variables are not a workaround for all scenarios since they cannot be passed to existing default build steps, but it might be possible to achieve something with a custom powershell script or by changes in custom build steps)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that will do

JakeGinnivan added a commit that referenced this pull request Aug 20, 2015
Clarify documentation of variables in TFS build
@JakeGinnivan JakeGinnivan merged commit eca5ac8 into GitTools:master Aug 20, 2015
@pascalberger pascalberger deleted the TfsBuildVariableDocImprovement branch August 20, 2015 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants