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
30 stars 48 forks source link

Add fallback logic for job name and build tag in build data #368

Closed nikita-tkachenko-datadog closed 10 months ago

nikita-tkachenko-datadog commented 10 months ago

Requirements for Contributing to this repository

What does this PR do?

Adds fallback behaviour to the logic that populates job name, job base name and build tag:

CI Visibility backend requires these values to be non-empty. If any of them is not provided, corresponding events will be dropped.

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

The new logic is covered with unit tests.

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)