Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

List of in built variables in octopus deploy

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
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x