Hi On 3 September 2011 20:06, Michael Powell <[email protected]> wrote:
> > > On Fri, Sep 2, 2011 at 4:21 PM, Mark <[email protected]> wrote: > >> I'm working to get my builds on CC.NET 1.6.x running on my Win2k8R2 >> server. >> >> I'm trying to use the new powershell call. And I get the error as >> noted in the subject line. >> >> Anyone have a clue what I've done wrong? Most of this I copied >> directly from the >> http://confluence.public.thoughtworks.org/display/CCNET/PowerShell+Task >> site. >> > > If this is me, I'm not sure I waste any time with this whatever, unless the > folks supporting CC want to know about it or what have you. > > I'm not familiar with <powershell/> or if that can be expressed from a > command line? If it can, then possibly, NAnt <exec/> to the rescue! A NAnt > <exec/> approach has worked just fine with our CC configuration. > > HTH and good luck! > > <powershell> >> <script>RunIntegrationTests.ps1</script> >> >> <executable>$(PowerShellInstallFolder)\PowerShell.exe</executable> >> <scriptsDirectory>..\PowerShell</scriptsDirectory> >> <buildArgs>$(TargetMachineIP) $(ProjectName) $ >> (IntegrationTestsAssembly)</buildArgs> >> <environment> >> <variable name="EnvVar1" value="Some data" /> >> </environment> >> <successExitCodes>0</successExitCodes> >> <buildTimeoutSeconds>6000</buildTimeoutSeconds> >> <description>Using Powershell, run the nunit on >> Integration >> tests.</description> >> </powershell> >> >> >> >
