upload build information one or more packages to Octopus Deploy.
Usage:
octopus build-information upload [flags]
Aliases:
upload, push
Flags:
-p, --package-id stringArray The ID of the package, may be specified multiple times. Any arguments without flags will be treated as package IDs
--version string The version of the package
--file string Path to Octopus Build Information Json file
--overwrite-mode string Action when a build information already exists. Valid values are 'fail', 'overwrite', 'ignore'. Default is 'fail'
Global Flags:
-h, --help Show help for a command
--no-prompt Disable prompting in interactive mode
-f, --output-format string Specify the output format for a command ("json", "table", or "basic") (default "table")
-s, --space string Specify the space for operations
Examples
Octopus Samples instance
Many of the examples we use, reference the samples instance of Octopus Deploy. If you’d like to explore the samples instance, you can log in as a guest.
$ octopus build-information upload --package-id SomePackage --version 1.0.0 --file buildinfo.octopus
$ octopus build-information upload SomePackage --version 1.0.0 --file buildinfo.octopus --overwrite-mode overwrite
$ octopus build-information push SomePackage --version 1.0.0 --file buildinfo.octopus
$ octopus build-information upload PkgA PkgB PkgC --version 1.0.0 --file buildinfo.octopus
Learn more
Help us continuously improve
Please let us know if you have any feedback about this page.
Page updated on Thursday, December 5, 2024