Class DatadogBuildListener

    • Constructor Detail

      • DatadogBuildListener

        public DatadogBuildListener()
    • Method Detail

      • onInitialize

        public void onInitialize​(Run run)
        Called when a build is first initialized.
        Overrides:
        onInitialize in class RunListener<Run>
        Parameters:
        run - - A Run object representing a particular execution of Job.
      • onStarted

        public void onStarted​(Run run,
                              TaskListener listener)
        Called when a build is first started.
        Overrides:
        onStarted in class RunListener<Run>
        Parameters:
        run - - A Run object representing a particular execution of Job.
        listener - - A TaskListener object which receives events that happen during some operation.
      • onCompleted

        public void onCompleted​(Run run,
                                @Nonnull
                                TaskListener listener)
        Called when a build is completed.
        Overrides:
        onCompleted in class RunListener<Run>
        Parameters:
        run - - A Run object representing a particular execution of Job.
        listener - - A TaskListener object which receives events that happen during some operation.
      • onFinalized

        public void onFinalized​(Run run)
        Called when a build is finalized.
        Overrides:
        onFinalized in class RunListener<Run>
        Parameters:
        run - - A Run object representing a particular execution of Job.
      • getRunExtForRun

        public com.cloudbees.workflow.rest.external.RunExt getRunExtForRun​(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
      • getQueue

        public Queue getQueue()