Step fail but process continue

I have a situation where a step fail but the deployment continue unexpectedly.

Step1 - Contains Step1a and step1b.
Step2 - Manual intervention - with “only run when previous steps are successful” and "Wait for the previous step to complete, then start"
step3 - Script - “only run when previous steps are successful” and "Wait for the previous step to complete, then start"
step4 - Script “only run when the variable expression is true and Run in parallel with the previous step”

Step1a successful, Step1b fail, step2 did not run, step3 and step4 ran.

Should Step1b failure stop the next steps from running?

Regards
B.

Hi,

Thank you for getting in touch. I have setup a process as you described, but could not reproduce the problem. Could you send a screen shot of the process overview, as well as a screenshot of Step3?

Also please send in the raw task log from that deployment. You can make this conversation private if there is sensitive information in it.

Does the variable expression for Step4 evaluate to true?

I would expect Step4 to run based on the value of the variable, regardless of previous failures. However Step3 should not run.

Robert W

I see where I’m going wrong.
Step4 is evaluating true. I’ve now added #{unless Octopus.Deployment.Error} #{/unless} into the variable rule. I suspect I misread that Step3 ran.
Thanks for your help