Created
February 17, 2011 08:36
-
-
Save jstangroome/831310 to your computer and use it in GitHub Desktop.
Change the Quality of a build from a deployment in TFS Deployer 2010
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$CollectionUrl = 'http://mytfs:8080/tfs/mycollection' | |
'.Client', '.Build.Client' | % { | |
Add-Type -AssemblyName "Microsoft.TeamFoundation$_, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" | |
} | |
$Collection = New-Object -TypeName Microsoft.TeamFoundation.Client.TfsTeamProjectCollection -ArgumentList $CollectionUrl | |
$BuildServer = $Collection.GetService([Microsoft.TeamFoundation.Build.Client.IBuildServer]) | |
$LiveBuildDetail = $BuildServer.GetBuild($TfsDeployerBuildDetail.Uri) | |
$LiveBuildDetail.Quality = 'Ready for QA' | |
$LiveBuildDetail.Save() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment