Yao's Whiteboard

Tips and tricks from Zhenhua Yao

Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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(...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Run .Net Script activity fails for simple PowerShell script, why?

    When the Run .Net Script activity fails, sometimes the error message is not very informational.  Someone showed me the following exception (screenshot  of simplified repro): The error summary does not say what “this function” is, what “the current host” means, and more importantly which part...
Page 1 of 1 (9 items)