Get the last build using TFS IP

In the deploy-test scenario, it is often needed to find the last good build.  By “last good build”, we mean the most recent build for a given build definition on TFS which has been built successfully and reached a certain quality level reflected by “Build Quality” field.  A common approach is to create a shortcut…

3

Import test results into TFS using Orchestrator

In the last post I talked about how to manually create a build record in TFS.  In this post I will talk about how to import the test results into TFS using TFS IP.  Just like we said last time, some teams have their proprietary test infrastructure, the authoring/execution/management of test cases are performed outside…

0

Manually create a build record in TFS using Orchestrator

Not every team uses TFS for both source repository and build automation, even in Microsoft.  Some teams maintain their custom build tool (a.k.a “manual build”) which means the build information is not tracked by TFS, but at the same time they want to use Test Manager or import test case results into TFS.  In order…

0

Run PowerShell scripts that interact with host

If you have been using “Run .NET Script” for some time, you probably know that not all kinds of PowerShell scripts will work with this activity.  If a script tries to use “Write-Host” or similar to interact with the host, the execution will fail.  For instance, try to run “[Guid]::NewGuid() | Write-Host” in Runbook Tester,…

1

Workflow activities for invoking a Runbook from Team Build

On a project there is a need to invoke a runbook for the following scenario: Product source code is stored in TFS source repository. Daily and gated build definitions are created in the team project. When the team build is triggered, a Windows Workflow (defined in Build Process Template) will be started on the build…

0

Windows Workflow Integration Pack is on CodePlex

After getting approval, today I uploaded the source code for the Windows Workflow Integration Pack to http://orchestrator.codeplex.com/.  You can build the IP on your own development machine or directly download the OIP file from the source code repository: This IP is built on .NET 4 to suppose the Windows Workflow 4 with SQL persistence.  Before…

4

TFS Integration Pack is on CodePlex

In my first post I mentioned that there was a TFS IP for Microsoft internal people.  Later it was released on CodePlex at http://orchestrator.codeplex.com/.  Please read the documentation at here and list of new features in 1.4.  Currently there are following activities in the latest 1.5 version: Work Item Tracking Get Work Item Set Work…

1

Enable .NET 4 in Orchestrator Integration Toolkit

WARNING: please note that this is a just workaround to use .NET 4 but it is NOT supported by the product group.  I have been using it without any issues, but it does not mean this approach is well tested. Currently the Orchestrator Integration Toolkit (OIT) in Orchestrator 2012 RTM only supports .NET 3.5 (which…

1