Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 242
DAQ Avatar asked May 29 '19 11:05

DAQ


People also ask

How do I delete agent pool?

You could navigate to the Organization settings -> Agent pool -> click the pool ,then you could see the Jobs of this pool . Please delete these jobs to check again . Hope your reply .


1 Answers

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).

like image 95
Shayki Abramczyk Avatar answered Sep 22 '22 17:09

Shayki Abramczyk