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

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.

Add an Azure Web App

An example script to add an Azure Web App as a deployment target.

Change target's machine policy

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

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 an environment to step

An example script that scopes a step to an environment.

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

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.

Find projects using library set

An example script that finds all projects using a specific library variable set.

Enable/disable machine

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

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.

Remove a project from team

An example script that removes a project from a team.

Delete a project

An example script that deletes a project.

Disable project triggers

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

Upgrade targets

An example script that upgrades a list of deployment targets.

Push package to built-in feed

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

Download package from built-in feed

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

Export step templates

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

Create a lifecycle

An example script that creates a lifecycle.

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