Each build and release pipeline creates a directory under the agent working directory to store the source code, artifacts, and test results. Some builds consume more space than others; as projects evolve, some builds are used more than others. As you may have guessed, this results in agent maintenance activity to clear out the agent work directory. While you wouldn't want to remove everything from the directory, you would certainly be looking to remove some of the less-used build folders. Luckily, the agent comes with out-of-the-box support for pool maintenance. In this recipe, we'll learn how to configure the agent-pool maintenance schedule to automatically free up storage from the agent work directory by removing unused build folders.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia