Skip to content

Document the TagSets system variables for environments, tenants, and projects - #3567

Merged
hnrkndrssn merged 1 commit into
mainfrom
henrik/docs/tagset-system-variables
Nov 13, 2026
Merged

hnrkndrssn merged 1 commit into
mainfrom
henrik/docs/tagset-system-variables

Conversation

@hnrkndrssn

@hnrkndrssn hnrkndrssn commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Background

Octopus Server has set three tag set variables since 2025.4. They came in OctopusDeploy/OctopusDeploy#37164 and OctopusDeploy/OctopusDeploy#37529. The System variables page doesn't list any of them. A customer found Octopus.Environment.TagSets[tag set].Tags only by reading a deployment's variable manifest. They asked if they can rely on the variable. They also asked what the value looks like when an environment has more than one tag in the tag set.

Relates to FD-1065

Results

Adds Octopus.Environment.TagSets[tag set].Tags, Octopus.Project.TagSets[tag set].Tags, and Octopus.Tenant.TagSets[tag set].Tags to the Deployment variables table. Version notes list the first build for each.

Each row says the value is the tag names separated by commas. The order of the tags isn't guaranteed. The environment row also says an == comparison only matches when the environment has a single tag in the tag set. That was the customer's main question.

How to review this PR

General quality. The value format comes from CollectTagSetVariables in VariableCollectionUtilities.cs in OctopusDeploy. The version boundaries are the first builds that contain #37164 and #37529.

Reducing risk

  • Spellcheck passes

🤖 Generated with Claude Code

…projects

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hnrkndrssn hnrkndrssn self-assigned this Nov 13, 2026
@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3567.z22.web.core.windows.net/.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

@hnrkndrssn
hnrkndrssn requested a review from a team November 13, 2026 05:21
@hnrkndrssn
hnrkndrssn marked this pull request as ready for review November 13, 2026 05:21
@hnrkndrssn
hnrkndrssn merged commit 163620d into main Nov 13, 2026
9 checks passed
@hnrkndrssn
hnrkndrssn deleted the henrik/docs/tagset-system-variables branch November 13, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants