Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32930

Events for failed builds are being reported with the wrong alert type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • datadog-plugin
    • None
    • Datadog Plugin 0.4.1
      Jenkins 1.625.3

      Reporting an event for a failed Jenkins build uses alert_type = failure.

      However, according to the API documentation for /api/v1/events, this value has to be "error", "warning", "info" or "success".

      I think this explains why I can never find failing Jenkins jobs when I filter my DataDog event stream by Status.

      The alert type sent via the API should presumably be "error".

            datadog Datadog HQ
            orrc Christopher Orr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: