Set build agent parameter while application is running

On some of my build agents, I am running an emulator - and I am wondering if there is a way to set some sort of build agent parameter to be true whenever the emluator application is running (or if a specific file exists, or something).  I'm wanting to set specific builds to only execute on those agents where the emulator is actually running.

1 comment
Comment actions Permalink

There is a file conf\buildAgent.properties. If the file is changed, build agent detect its change and restarts applying new parameters. You can add you param here, when emulator starts and remove it, when emulator stops.

0

Please sign in to leave a comment.