Skip to content

Support comma-delimited values on octopus release deploy --deployment-target command #556

Open

Description

@KennethBates

The bug

When trying to pass in multiple targets via the --deployment-target argument in the release deploy command using comma-delimitation, the command fails with the following error.

Octopus API error: There was a problem with your request. [Unable to locate deployment target(s) named 'ABC,XYZ']

Preferably, this should work in the same way the old deprecated CLI can have multiple targets passed via --specificMachines="ABC,XYZ", e.g. octopus release deploy --deployment-target "ABC,XYZ"

Command to reproduce

octopus release deploy --deployment-target "ABC,XYZ"

Outcome

Octopus API error: There was a problem with your request. [Unable to locate deployment target(s) named 'ABC,XYZ']

Workaround

You can still pass a subset of targets by defining multiple arguments in the command, e.g. --deployment-target "ABC" --deployment-target "XYZ"

Versions

cli: 2.19.1

Octopus Server: 2025.4.5038

Links

Report (private): https://octopus.zendesk.com/agent/tickets/258815

Activity

  1. added a commit that references this issue on Aug 21, 2026
    1eaabfe
  2. added 5 commits that reference this issue on Sep 4, 2026
    3da2158
    71c82bd
    60e548d
    1e69f93
    54072b6
  3. added 3 commits that reference this issue on Sep 15, 2026
    266fe8c
    2517c55
    2761779
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions