When looking at the TFS 2012 Web Access, I noticed that there are 3 possible Build States: ‘queued’, ‘completed’, ‘deployed’
‘queued’ and ‘completed’ I was aware of but ‘deployed’ I had never noticed before.
I found out that the ‘deployed’ value is only set when you are using the Azure integration. But if you really want to use it yourself, you can always set the value through Powershell:
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
Add-Type -AssemblyName 'Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' | |
Add-Type -AssemblyName 'Microsoft.TeamFoundation.Build.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' | |
$tfs = New-Object -TypeName Microsoft.TeamFoundation.Client.TfsTeamProjectCollection -ArgumentList $TfsServer | |
try { | |
$deployServiceType = [Microsoft.TeamFoundation.Build.Client.DeploymentService] | |
$deployService = $tfs.GetService($deployServiceType) | |
$deployService.CreateBuildDeployment($Uri, $Uri, $Quality) | |
} | |
catch [Microsoft.TeamFoundation.Build.Client.BuildServerException] | |
{ | |
} |