You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a release and supplying the flag --output-format json, the response is vastly different to when omitting that flag (thus returning basic string format).
Command to reproduce
Basic formatting
octopus release create --project "project.name" --version 1.4.4 --package-version 1.4.4 --channel Release --release-notes "auto created from build pipeline." --space "Default" --no-prompt
Successfully created release version 1.4.4.1 using channel Release
The expectation is that in the json output, I would at the very least get back the release id, in this case Releases-297773. Without that we need to now do a second call to try and get the release id, or we need to do string manipulation on the basic output to get the release id / link.
Versions
cli: I don't know as the cli doesn't have a way to tell me what version it is!
Octopus Server: 2023.2
Links
The text was updated successfully, but these errors were encountered:
donnybell
changed the title
Unexpected differences between json and basic cli output
Unexpected differences between json and basic cli output (--output-format json not working)
Oct 4, 2023
The bug
When creating a release and supplying the flag
--output-format json
, the response is vastly different to when omitting that flag (thus returning basic string format).Command to reproduce
Basic formatting
Outcome
The expectation is that in the json output, I would at the very least get back the release id, in this case
Releases-297773
. Without that we need to now do a second call to try and get the release id, or we need to do string manipulation on the basic output to get the release id / link.Versions
cli: I don't know as the cli doesn't have a way to tell me what version it is!
Octopus Server: 2023.2
Links
The text was updated successfully, but these errors were encountered: