Skip to content

Fix job hooks not sent by Datadog Integration

What does this MR do and why?

We want Job Hooks sent to Datadog whenever the integration is enabled. After testing I see that this is not working, for some reason the integration does not receive the payload if build is not supported_events. It might be cleaner to fix this somewhere else but I'm not sure how

Screenshots or screen recordings

Captura_de_Pantalla_2022-11-15_a_las_16.32.32

How to set up and validate locally

  • Configure Datadog Integration locally
  • You can use https://webhook.site/ in advanced URL if you prefer to skip Datadog settings
  • Webhook logs show that the Job Hooks are not sent without this change

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports