My build requires an environemnt variable to be set. The environment variable needs to contain the current root source directly (i.e. SRC_ROOT = "c:\trunk")
I would like to set the environment variable in my Visual Studio task in the Enviroment Variables field, but would like to set it using the global bamboo variable build.working.directory rather than a full path. However, if I set SRC_ROOT=build.working.directory\trunk it does not work. It only works if I set the actual full path name. Is there a way to make this work?
Use ${bamboo.build.working.directory} instead.
try to add bamboo. prefix - all built-in variables start with bamboo.
SRC_ROOT="${bamboo.build.working.directory}\trunk"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's right, sorry about that. See https://confluence.atlassian.com/display/BAMBOO/Using+global,+plan+or+build-specific+variables for a complete reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.