Reputation: 191
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
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
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