Skip to content

Commit

Permalink
Add git runbooks system variables
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlynstocker committed Nov 14, 2024
1 parent e95b6a5 commit df83a63
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/pages/docs/projects/variables/system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,30 @@ The date and time at which the runbook was run in UTC format.

Example: *3/13/20 6:23:38 AM +00:00*

`Octopus.RunbookRun.Git.BranchName`

The branch name if the runbook run was created from a branch

*branch-abc*

`Octopus.RunbookRun.Git.CommitHash`

The commit hash used when creating this run on a version controlled runbook

Example: *14677f79e59df2a55e3904a7020fd14e96b8a1e9*

`Octopus.RunbookRun.Git.Ref`

The full git ref used when creating this run on a version controlled runbook

Example: *refs/heads/branch-abc*

`Octopus.RunbookRun.Git.TagName`

The tag name if the runbook run was created for a tag

"v1.0.234"

`Octopus.RunbookRun.Id`

The ID of the run.
Expand Down

0 comments on commit df83a63

Please sign in to comment.