On a project there is a need to invoke a runbook for the following scenario:
In order to integrate with Team Build process smoothly, two workflow activities were written and shared at http://orchestrator.codeplex.com. Please go to the source code area to download the project:
Two activities are:
A simple workflow as a part of build process template (modified from DefaultTemplates.xaml) looks like:
The input parameters for StartRunbook are:
The output is the job ID. The input parameters for RunbookJobStatus are:
The output parameters are:
The runbook to be invoked is expected to have the following parameters:
The runbook is expected to return at least “TestOutcome” as a string. If any of those parameter is not defined, the StartRunbook activity will not invoke the runbook. If the runbook needs any other details it can use “Get Build Details” activity in TFS IP to query.
If there is any issue, please let me know. Have fun!