DAQ
DAQ

Reputation: 191

How to uninstall or remove configuration of a deployment pool or deployment agent

I am using Azure DevOps Server (TFS), and I register deployment pool agents in my test and production servers, now iIneed to uninstall or remove the configuration on my server and in my UI how can I do that there are a script to run or just delete the files or what could you please help me with that.

Upvotes: 17

Views: 26268

Answers (2)

erhan355
erhan355

Reputation: 1086

If you are in linux navigate to azagent folder and then

sudo ./svc.sh uninstall

Refer to : https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops

Upvotes: 3

Shayki Abramczyk
Shayki Abramczyk

Reputation: 41775

You need to do 2 things:

1) Go to the agent folder (where he installed) and run config.cmd with the flag remove. if you are in the agent folder run this in the command line:

./config remove

2) Go to the Deployment Group (in the UI) and click on the ... near the group and then Delete (to delete all the group, if you want only the agents so go inside and do the same thing there).

Upvotes: 25

Related Questions