Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions internal/constants/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ const (
// CIPipelineName indicates the name of the CI pipeline.
CIPipelineName = "ci.pipeline.name"

// CIPipelineDisplayName indicates the human-readable display name of the CI pipeline.
CIPipelineDisplayName = "ci.pipeline.display_name"

// CIPipelineNumber indicates the number of the CI pipeline.
CIPipelineNumber = "ci.pipeline.number"

Expand Down
1 change: 1 addition & 0 deletions internal/environment/ci_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ func extractBuildkite() map[string]string {
tags[constants.GitTag] = os.Getenv("BUILDKITE_TAG")
tags[constants.CIPipelineID] = os.Getenv("BUILDKITE_BUILD_ID")
tags[constants.CIPipelineName] = os.Getenv("BUILDKITE_PIPELINE_SLUG")
tags[constants.CIPipelineDisplayName] = os.Getenv("BUILDKITE_PIPELINE_NAME")
tags[constants.CIPipelineNumber] = os.Getenv("BUILDKITE_BUILD_NUMBER")
tags[constants.CIPipelineURL] = os.Getenv("BUILDKITE_BUILD_URL")
tags[constants.CIJobID] = os.Getenv("BUILDKITE_JOB_ID")
Expand Down
Loading
Loading