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

Datadog plugin doesn't show `jenkins.job.started` for pipeline options block change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • datadog-plugin
    • None

      Datadog plugin supports `options` block for pipeline jobs to add tags, as seen in https://github.com/jenkinsci/datadog-plugin/blob/master/README.md#pipeline-customization

      After implementing it, I can see `jenkins.job.duration` and `jenkins.job.complete` by filtering a particular parameter, but `jenkins.job.started` is not showing up there.

      I have the input params defined inside of the Jenkinsfile.

      pipeline {
          options {
              datadog(collectLogs: true, tags: [
                  "force:${params.force}"
              ])
          }
          parameters {
              booleanParam(
                  name: 'force',
                  description: 'OPTIONAL: Should this be a force sync?',
                  defaultValue: false
              )
          }
      }

       

       

            datadog Datadog HQ
            ozooxo Cynthia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: