TeamCity Build Agent Disconnected

If an agent becomes disconnected for whatever reason, you can follow these steps to re-connect it:

ssh to the server that the disconnected agent is on.

go to the build agent’s bin directory (i.e. /opt/teamcity/buildagent/buildagent01/bin/)

su to the user that the agent runs as (i.e. appBuilder)

run agent.sh start

That will start the agent, and after a few seconds or so, the next time you go to TeamCity, it will be connected.

Advertisements

3 responses to “TeamCity Build Agent Disconnected

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s