What is the format for additional arguments to octo.exe push
When pushing packages to Octopus, one of the arguments available is --replace-existing
. This allows a package to be overwritten if the build is rerun, and is documented at https://octopus.com/docs/api-and-integration/octo.exe-command-line/....
How can I supply this option in the field? When I enter --replace-existing
into the field Push packages advanced
I receive an error:
Deploying using Octopus provider
Publishing package(s) to Octopus...
Unrecognized command arguments: --replace, --existing
Exit code: -1
octo.exe exited with code -1
It is like this field is splitting the input on a dash, which makes is impossible to supply the argument.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on Apr 17, 2018 @ 11:00 PM
Matthew, thank you for catching this. Will fix and deploy asap. Here is the bug.
What would be your advise on fix? Your guess about splitting the input on a dash is correct and it seems that
--replace-existing
is the only option which includes dash, at least forpush
,create-release
anddeploy-release
. Do you believe it is safe to special case it?2 Posted by Ilya Finkelshte... on Apr 17, 2018 @ 11:13 PM
Nevermind, will do without any special cases, sorry for the trouble.
3 Posted by matthew.caspers... on Apr 18, 2018 @ 03:54 AM
Thanks for that.
4 Posted by Ilya Finkelshte... on Apr 27, 2018 @ 12:45 AM
It is fixed. Fix deployed "laterally", the way we deploy non-critical fixes to production. So most builds by now will not have this issue. In are few hours no builds should have it.
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:28 AM.