Uninstall build agent

Hi,

I could not find any documentation for uninstalling build agents (Unix). We had a temp machine to try out an Unix agent that we now want to remove. We've unauthorized and disabled it, but we'd like to clean it up further.

Please advise.

Regards,

John

Running a licensed Team City 8.0.5 (build 27692)

5 comments
Comment actions Permalink

Hi John,

The agent stores all related data under its directory and the only place that requires uninstallation into an OS is integrating into the automatic start system (e.g. on Linux daemon process with agent.sh start command could be configured).
To unistall agent on Unix machine, you need to stop it (using agent.sh stop command) and then you can safely remove the whole agent directory. If you change default agent's workDir, tempDir and systemDir (you can check it in buildAgent.properties file) you should also remove these folders.

0
Comment actions Permalink

Yes, but it stil shows in the TC portal as inactive. Is there a way of getting rid of it in the portal as well?

0
Comment actions Permalink

Please open Agents > Unauthorized, select this agent and Remove agent. See attached screenshot.
Please read more about Agent Statusses.



Attachment(s):
Screen Shot 2014-12-01 at 18.05.14.png
0
Comment actions Permalink

Right, I don't have this "Remove" button in the UI. Possibly due to admin rights or that the agent says "Connected" still (?). What are the criterias for this button being visible for an agent/user?

0
Comment actions Permalink

This button appears only when agent is disconnected. System administrator, Project administrator and Agent manager have permissions to remove agents.

Are you sure that you have switched off the agent? Could you please attach teamcity-agent.log and teamcity-server.log files?

0

Please sign in to leave a comment.