Psake nested build does not fail -


I have a fairly simple sketch build script (default.ps1) that calls to Aage-Skak within one of the calls is. Something like this:

(default.ps1)

 . . \ Utilities.ps1 Properties {... define some properties} Functions default - Step 1 Workstation 1 {Annuity-Sky Script 2.ps1}  

The second creation is the function of the script And its point

(script2.ps1)

 . . \ Utilities.ps1 Properties {Define} Function Default - Depend Script 2. Create Schema Work Script 2. Crescakma {Invitation-SQLCMD .... (Parameter)}  

Work Work fine; Invoke-Sqlcmd call works.

The problem I am facing is that if for some reason the script2.CreateSchema operation fails, then Psake still reports that the build succeeds in the child's script Failure to work is not bubbling on the parent script, as the creation of Psake fails.

Anyone walked into this? Is this possibly a problem with Psake's new Nested Build feature?

Psake v4.0
PowerShell v2.0

this obvious form There is a problem in Psake which has been confirmed by feature writer. I posted on


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -