Guided failure option ignored

It seems as though the deploys enter the waiting state in guided failure mode even if I turn off the option.

I’ve tested in both the UI and using octopack.

Here are the log details from the TeamCity scenario.
The octopack command from TeamCity
[09:37:09][Octopus Deploy] Running command: octo.exe create-release --server http://build-server:8090/Octopus --apikey SECRET --project MyProject --enableservicemessages --version 4.0.3.82 --deployto Integration --waitfordeployment --guidedfailure=false

From the TeamCity log:
[09:37:12][Octopus Deploy] Deploying MyProject 4.0.3.82 to: Integration (Guided Failure: Not Enabled)

From the Octopus Log
09:37:44 Info | Creating an interruption to request failure guidance

Hi Kareem,

Thanks for finding this bug. The UseGuidedFailure parameter specified on the command line is getting overridden by the UseGuidedFailure setting from the Environment.

I have created a GitHub issue which you can track here: https://github.com/OctopusDeploy/Issues/issues/1074

Henrik

Sounds like there’s a workaround then.
What’s the environment setting I can change? Is this on the server?

Hi Kareem,

You can change this seting by going to your Environments page, click the Edit link on the Integration environment and uncheck the Use guided failure mode by default option.

Henrik

Workaround works. Thanks!