Octopus Deploy provides a number of built-in variables that you can use in your deployment processes, runbooks, and scripts. Here’s a list of some of the most commonly used built-in variables:
- Octopus.Action.Name: The name of the current action being executed.
- Octopus.Action.Package.NuGetPackageId: The ID of the package being deployed.
- Octopus.Action.Package.NuGetPackageVersion: The version of the package being deployed.
- Octopus.Action[StepName].Output.Package.InstallationDirectoryPath: The installation directory of the package being deployed.
- Octopus.Environment.Name: The name of the current environment.
- Octopus.Machine.Name: The name of the current deployment target (machine).
- Octopus.Release.Number: The version number of the release being deployed.
- Octopus.Release.Package[NuGetPackageId].Version: The version of a specific package in the current release.
- Octopus.Project.Name: The name of the current project.
- Octopus.Task.Id: The ID of the current task being executed.
- Octopus.Web.BaseUrl: The base URL of the Octopus server web interface.
- Octopus.Deployment.Created: The date and time when the deployment was created.
- {Octopus.time.hour}
- {Octopus.time.minute}
- {Octopus.time.second}
Reference
- https://octopus.com/docs/projects/variables/system-variables
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals