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.

PowerShell and IIS: 20 practical examples

Real-world examples tested on Windows 2008 R2 through to 2016. Creating sites, configuring application pools, and examples in both the old WebAdministration module and the newer IISAdministration module.
Loading...

Documentation

How to regenerate certificates with Octopus Server and Tentacle

How to regenerate the certificates used for communication between Octopus Server and its Tentacles.

Logging messages from scripts

When your scripts emit messages Octopus will display the messages in the Task Logs at the most appropriate level for the message.

Output variables

Your scripts can emit variables that are available in subsequent deployment steps.

Artifacts

Artifacts in Octopus provide a convenient way to collect files from remote machines during deployments.

Using variables in scripts

With Octopus you can define variables for use with your custom scripts.

New Octopus Target Command

Function for creating an Octopus target for a step package

Updating Linux

With Octopus Deploy you can update and patch Linux machines with a runbook as part of a routine operations task.

Working directly with the Client

How to use the IOctopusClient type in the Octopus.Client library.

Working with Spaces

How to work with Spaces in the Octopus.Client library.

Delete a Space

An example script to delete a space.

Output variables

Output variables allow you to set dynamic variables in one step that can be used in subsequent steps.

Error handling

Error handling for scripts in Octopus.

Watchdog

 Configure a scheduled task to monitor the Octopus service(s).

Configure

Using the Tentacle.exe command line executable to configure Tentacle settings.

Create instance

Using the Tentacle.exe command line executable to register a new instance of the Tentacle service.

New certificate

Using the Tentacle.exe command line executable to create and install a new certificate for this Tentacle.

Show thumbprint

Using the Tentacle.exe command line executable to show the thumbprint of the Tentacle's certificate.

Run a health check

An example script that creates and runs a health check task.

Add a Space with environments

An example script to create a new space and populate it with some default environments.

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.

Create an API Key

An example script that creates an API Key.

Create a feed

An example script that creates a nuget feed in Octopus.

Enable/disable machine

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

Delete a feed

An example script that deletes an existing feed in Octopus using the REST API and Octopus.Client.

Retrieve all feeds

An example script that retrieves all feeds in Octopus.

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.

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