Have you looked at this plugin? https://wiki.jenkins.io/display/JENKINS/Groovy+Events+Listener+Plugin
On Tuesday, June 18, 2019 at 6:15:02 AM UTC-7, selva vignesh wrote: > > Hi, > I am developing one plugin for my internal purpose. I would like to add > feature that will do some action at the end the job build. > But i really do not know how to implicitly add this action at the end of > the build. Can anyone suggest me to how to achieve this. > > Example: I will trigger the build through api and at the end of the build > Jenkins should call the hook which i've given while trigger internally > rather then UI configuration > > 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/3a2dec13-0f78-4e31-b0e2-85d36b5c09a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
