You can see a list of commands using: octo helpĪnd you can get help for a specific command using: octo help octo - helpĪrguments are not case sensitive and can take the following forms: - project OctoFX # Space between argument name and value - project = OctoFX # Equal sign between argument name and value - project " OctoFX Web Site " # Argument values with spaces need to be quoted " -project=OctoFX Web Site " # If using equals, quote both the name and value, not just the valueĪll commands require you to pass the URL of the Octopus Server’s API endpoint, and an API key which is used to authenticate you. Please use the build-information command for Octopus Server 2019.10.0 and above.Īll commands take the form of: octo push-metadata: Pushes package metadata to Octopus Server.war, etc.) package to the built-in NuGet repository in an Octopus Server. prevent-releaseprogression: Prevents a release from progressing to the next phase.zip) from files on disk, without needing a. list-releases: Lists releases by project.list-latestdeployments: Lists the releases last-deployed in each environment.list-deployments: Lists a number of deployments by project, environment or by tenant.install-autocomplete: Install a shell auto-complete script into your shell profile, if they aren’t already there.import: Imports an Octopus object from an export file.export: Exports an object to a JSON file.dump-deployments: Writes deployments to an XML file that can be imported in Excel.delete-releases: Deletes a range of releases. delete-package: Deletes a package from the built-in NuGet repository in an Octopus Server.delete-autodeployoverride: Deletes auto deploy release overrides.create-workerpool: Creates a pool for workers.create-release: Creates (and, optionally, deploys) a release.create-environment: Creates a deployment environment.create-channel: Creates a channel for a project.create-autodeployoverride: Overrides the release that auto deploy will use.complete: Supports command line auto completion.clean-workerpool: Cleans all Offline Workers from a WorkerPool.clean-environment: Cleans all Offline Machines from an Environment.build-information: Pushes build information to Octopus Server.allow-releaseprogression: Allows a release to progress to the next phase.For installation options and direct downloads, visit the Octopus CLI Project on GitHub. The Octopus CLI can be used on Windows, Mac, Linux, Docker, and as a. The Octopus CLI, which leans heavily on the Octopus Clients library, is built and maintained by the Octopus Deploy team, but it is also open source. With the Octopus CLI you can package your applications for deployment as either Zip or NuGet packages, and manage your environments, deployments, channels, projects, and workers. The Octopus CLI is a command line tool that builds on top of the Octopus Deploy REST API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |