jenkinsci / datadog-plugin

A Jenkins plugin used to forward metrics, events, and service checks to an account at Datadog, automatically.
https://plugins.jenkins.io/datadog/
MIT License
34 stars 48 forks source link

Fix incorrect hard-coded env var name in Java tracer configurator #382

Closed nikita-tkachenko-datadog closed 8 months ago

nikita-tkachenko-datadog commented 9 months ago

Requirements for Contributing to this repository

What does this PR do?

Fixes an error in Java tracer configurator code: when retrieving a config value from environment variable it was using an incorrect hard-coded variable name. The error was not caught by the existing integration tests, as only manifested itself when that particular env variable was set (that code uses variables to override default tracer configuration settings).

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)