Build trigger on disabled agent


I have disabled the build agent from Teamcity UI. But when i click run project on this disabled agent, build is triggered and runs successfully.
My understanding is that disabling the build agent should not let me trigger the build.

What exactly is happening? Is something wrong in my configuration?


1 comment
Comment actions Permalink


Disabling an agent means builds won't be automatically assigned to it. But user can still run builds on the agent directly choosing it form the list of the Run button. This way disabling agent can be used for debugging builds on it for example.

If you need to remove the agent from the build grid you may consider making it unauthorized instead.

Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
"Develop with pleasure!"


Please sign in to leave a comment.