Skip to content

Deploy a release Deployment Condition cannot be bound to a variable #5151

@BobJWalker

Description

@BobJWalker

Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.

Prerequisites

  • I have verified the problem exists in the latest version
  • I have searched open and closed issues to make sure it isn't already reported
  • I have written a descriptive issue title
  • I have linked the original source of this report
  • I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)

The bug

The deploy a release step has the ability to specify a deployment condition. That feature appears as if it can be bound to a variable.

image

If I choose the second option and click the binding link then the screen turns to this:

image

If I replace the text "IfNotCurrentVersion" with a variable like so:

image

The step reverts back to "deploy every time"

image

When doing a deployment, it does the "deploy every time" as well. It completely ignores the variable and just does the default.

What I expected to happen

The step would use the variable and not default back to "deploy every time"

Affected versions

Octopus Server: 2018.9.7

Workarounds

Possible to make use of output variables and run conditions instead.

Links

Private link: https://secure.helpscout.net/conversation/725635860/36409?folderId=557077

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions