I've used RunListener before, and its methods definitely gets called for pipeline jobs.
e.g. https://github.com/jenkinsci/github-autostatus-plugin/blob/master/src/main/java/org/jenkinsci/plugins/githubautostatus/BuildStatusJobListener.java#L48 I'm not sure whether you're not seeing it getting called, or whether you're having problems getting some specific build detail though. Best Jeff On Mon, Jul 29, 2019 at 3:57 AM selva vignesh <[email protected]> wrote: > Hi, > I am tracking the every build details of Freestyle and pipeline job. For > freestyle i am using Runlistener and able to trace the details when build > onStarted and onCompleted function. > But Pipline (Workflow) job i am not able to track the build details at > onStarted and onCompleted function in runListener. Can anyone please > suggest how to achieve this. Kindly share me the examples if anything > available. > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkpk0Rj3BLE0BXsxqjtpE4vZbPWsUXaZ4U%2Boo%2Bma0djWoOA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkpk0Rj3BLE0BXsxqjtpE4vZbPWsUXaZ4U%2Boo%2Bma0djWoOA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CADVhPToiiKa1runMGFntV1F0Y5HH4ZOxVagJ1dDDbq5y9ZoUFQ%40mail.gmail.com.
