Is there a way to change the build config after it gets assigned to an agent from the queue? The workflow I'm hoping for:
change in vcs root -> queue up 'run tests' -> if Agent A, run 'run tests', if Agent B, run 'run tests in Docker'
More context: I have an instance of teamcity which I maintain, but do not have admin access to. This means I can't install what I need to on the server. We have certain installs on certain build agent servers. I created different versions of our 'run tests' build config, such that it will run on all the available agents. This is a fairly simple difference: the test suite runs regularly with the one build config (on default agent) & runs in a docker container on the others (on the other two build servers). Not all servers have docker installed.
To be clear, these build configs are not sequential to each other - they are the same build config, but different versions. I don't want both jobs listening for vcs changes - as this will kick off both build configs. I simply would like to put a condition in front of the run but after the queue, however the data flow seems to be one way (queue up job, then assign to agent).