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

Look up hostname from controller environment #340

Closed Vlatombe closed 1 year ago

Vlatombe commented 1 year ago

This is more portable than /bin/hostname (which can be missing in a container image), and most calls in this plugin don't provide any EnvVars.

Requirements for Contributing to this repository

What does this PR do?

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)

sarah-witt commented 1 year ago

Thanks again @Vlatombe! We aim to release this soon alongside some other hostname detection logic changes.