Unlike a deployment with a pre-defined lifecycle, Runbooks can run on any environment in any order. Runbooks are designed to automate routine maintenance tasks. Maintenance tasks might need to run on Test and Production but not on Development environments.
- From the Hello Runbook runbook you created on the previous page, click RUN….
This screen provides the details of the Runbook you are about to run.
- Select an environment.
- Click RUN.
Because we didn’t define any deployment targets for the target environment, Octopus ran the script directly on the Octopus Server. If you are on Octopus Cloud, Octopus Deploy leased a dynamic worker (a machine that executes tasks on behalf of the Octopus Server) that was then used to execute the hello world script.
The next step will cover how to configure and use variables in runbooks.
For further reading on running a Runbook please see:
Help us continuously improve
Please let us know if you have any feedback about this page.
Page updated on Sunday, January 1, 2023