when a step fails, deploy doesn't fail

Headspring Labs avatarHeadspring Labs created an issue

Have run into this several times - a database migration failed, but the deploy succeeded. Or in this case, a web deploy failed but the 'deploy' succeeded.

Here is a snippet of output from the deployer output window:

Info: Executing Role: WebApp
Info: 
Info: Loading C:\EPAGHG\installs\test.vars.ps1
Info: 
Info: Syncing files between 'C:\EPAGHG\installs\web\app' and 'c:\EPAGHG\websites'
Info: 
Info: sync-files arguments: -verb:sync -source:dirPath=C:\EPAGHG\installs\web\app -dest:dirPath=c:\EPAGHG\websites
Info: 
Warning: The process 'C:\Windows\system32\cmd.exe' (command line '/c "C:\Windows\ServiceProfiles\NetworkService\AppData
\Local\Temp\hw42p3dm.jdf.bat"') is still running. Waiting for 9500 ms (attempt 1 of 25).
Warning: Invoke-Command : could not find node @ //e:property[@name = 'connection.connection_string']
Warning: At C:\EPAGHG\installs\pstrami.psm1:139 char:19
Warning: +     invoke-command <<<<  -scriptblock $_.Action -ErrorAction Stop
Warning:     + CategoryInfo          : OperationStopped: (could not find ...ection_string']:String) [Invoke-Command], R
untimeEx 
Warning:    ception
Warning:     + FullyQualifiedErrorId : could not find node @ //e:property[@name = 'connection.connection_string'],Micro
soft.Pow 
Warning:    erShell.Commands.InvokeCommandCommand
Warning:  

....

Info: Deployment Succeded
Info: 
Info: The process 'C:\Windows\system32\cmd.exe' (command line '/c "C:\Windows\ServiceProfiles\NetworkService\AppData\Lo
cal\Temp\hw42p3dm.jdf.bat"') exited with code '0xFFFFFFFF'.
Total changes: 1 (0 added, 0 deleted, 1 updated, 0 parameters changed, 0 bytes copied)


Install-RemoteServer Succeeded

Comments (1)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.