Skip to content

Step status code variable evaluates to succeeded when step isn't run on any machines #4723

@KennethBates

Description

@KennethBates

Octopus 2018.6.15

Steps to reproduce:

  1. Create a step targeting a role that will prevent the step from being run
  2. On a subsequent step, write the output variable Octopus.Step[S].Status.Code

Result:

skipped_succeeded_status

This step should populate the status code variable to something other than skipped, perhaps NoOp. This will allow you to easily write run conditions based on this value.

Metadata

Metadata

Assignees

Labels

action/investigatekind/enhancementThis issue represents an enhancement we are committed to adding to Octopus as some time

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions