Skip to content

Propagate Jenkins custom parent ID#246

Merged
ypopovych merged 2 commits into
mainfrom
juan-fernandez/jenkins-custom-parent-id
May 13, 2026
Merged

Propagate Jenkins custom parent ID#246
ypopovych merged 2 commits into
mainfrom
juan-fernandez/jenkins-custom-parent-id

Conversation

@juan-fernandez

Copy link
Copy Markdown
Contributor

Summary

Adds Jenkins DD_CUSTOM_PARENT_ID propagation alongside DD_CUSTOM_TRACE_ID in the CI environment metadata serialized to _dd.ci.env_vars.

This matches the Datadog Jenkins plugin environment values used by backend pipeline and job correlation.

Changes

  • Read DD_CUSTOM_PARENT_ID in JenkinsCIEnvironmentReader.
  • Update all Jenkins CI fixtures that include DD_CUSTOM_TRACE_ID to also include DD_CUSTOM_PARENT_ID in the input and expected _dd.ci.env_vars JSON.

Validation

  • git diff --check
  • Ruby JSON parse for Tests/fixtures/ci/jenkins.json
  • Ruby fixture coverage check confirming all 36 Jenkins specs include the custom parent ID in input and expected env vars

xcodebuild -scheme DatadogSDKTesting -sdk macosx -destination 'platform=macOS,arch=arm64' -only-testing:DatadogSDKTestingTests/EnvironmentTests/testSpecs test could not run locally because the active developer directory is Command Line Tools rather than a full Xcode installation.

@juan-fernandez
juan-fernandez marked this pull request as ready for review May 12, 2026 12:12
@juan-fernandez
juan-fernandez requested review from a team and ypopovych as code owners May 12, 2026 12:12
swift-code-coverage should be fixed to the minor version
@ypopovych
ypopovych merged commit 4ae06f0 into main May 13, 2026
6 of 10 checks passed
@ypopovych
ypopovych deleted the juan-fernandez/jenkins-custom-parent-id branch May 13, 2026 12:34
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.

2 participants