How to create agent requirements for drive exists?
Some of our build configurations have a step that copies third-party components from a specific D:\Dev\ThirdParty\ folder. Not all machines will have a D drive unfortunately so I'd like to set up an agent requirement to require that folder, or at least the drive, exists.
Please sign in to leave a comment.
Hi Paul,
I'm afraid that Agent requirements cannot be complex expressions. They are parsed as a string or regex, so that's the limitation you will have. The easiest way to get this to work would be to create an env.var on the agents that have it (or have it within an already existing ones), then check for this variable existence/content.