Austin Agile DevOps

DevOps in the Cloud
posts - 70 , comments - 7 , trackbacks - 0

April 2014 Entries

Delete Build Drop Locations Some Number of Days Old
We don’t need to keep our drop folders after a week. Here some code to accomplish that. [TestMethod] public void SetDeleteBuildDropFolder() { //method parms string collectionUrl = "http://myCollectionUrl"; string projectName = "myTeamProjectName"; var buildDefinitionNames = new List<string>(); buildDefinitionNames.Add("m... var fromDate = DateTime.Now.AddDays(-8); //execute method var buildsDropFoldersDeleted = tfsApi.SetDeleteBuildDropFo... projectName, ......

Posted On Monday, April 28, 2014 9:04 AM | Comments (0) |

Powered by: