Search

Blog posts

Outage on octopus.com - report and learnings

Public incident report and our learnings about the octopus.com DNS disruption from January 25 – 26, 2023.
Loading...

Documentation

Enable/disable project

An example script that enables or disables a project in Octopus.

Download Deployment Artifact

An example script to download a deployment artifact to a specified location.

Download Runbook Artifact

An example script to download a runbook artifact to a specified location.

Cancel queued deployments

An example script to cancel queued deployments.

Create and deploy a release

Example scripts to create and deploy a release.

Register Listening Tentacle

An example script to register a listening tentacle using the REST API.

Create a project

An example script that creates a project.

Add library set to a project

An example script that adds a library variable set to a project.

Create a release with specific version

An example script that creates a release with a specific version number.

Delete projects with no process

An example script that deletes projects that have no deployment process in Octopus using the REST API and Octopus.Client.

Export step templates

An example script that exports all step templates in a Space to files.

Import projects

An example script that will import projects from a previously executed export task from another space on an Octopus instance.

Create and publish a new runbook snapshot

An example script to create and publish a new runbook snapshot

Remove a project from team

An example script that removes a project from a team.

Download package from built-in feed

An example script that downloads a package from the built-in feed.

Disable project triggers

An example script that disables a project's triggers in Octopus using the REST API and Octopus.Client.

Push package to built-in feed

An example script that pushes a package to the built-in feed.

Enable/disable machine

An example script that enables or disables a machine in Octopus.

Add an environment to a team

An example script that adds an environment to a team user role.

Find teams with role

An example script that finds all teams using a specific role.

List users with role

An example script to list all users that have a specific role by team.

Deploy existing release

An example script to deploy an existing release.

Add a target role

An example script that adds a target role to a deployment target.

Delete targets by name

An example script to delete targets by matching a specified name.

Delete project releases

An example script that deletes releases for a project.

Publish a runbook snapshot

An example script to publish an existing runbook snapshot

Change target's machine policy

An example script that changes a machine policy of a deployment target.

Add an environment to step

An example script that scopes a step to an environment.

Export projects

An example script that will export projects that can be imported into a different space on the same, or different Octopus instance.

Can't find what you are looking for? You can also search our support forum.