|
CruiseControl.NET : PowerShell Task
This page last changed on Dec 03, 2009 by csut017.
PowerShell TaskRuns a PowerShell script. VersionAvailable from version 1.5 ExamplesMinimalist example <powershell> <script>dosomething.ps</script> </powershell> Full example <powershell> <script>dosomething.ps</script> <executable>C:\program Files\PowerShell\PowerShell.exe</executable> <scriptsDirectory>C:\Scripts</scriptsDirectory> <buildArgs>-level=1</buildArgs> <environment> <variable name="EnvVar1" value="Some data" /> </environment> <successExitCodes>1,2,3</successExitCodes> <buildTimeoutSeconds>10</buildTimeoutSeconds> <description>Example of how to run a PowerShell script.</description> </powershell> Configuration Elements
|
| Document generated by Confluence on Jan 23, 2011 08:52 |