Which Extension points should I use to do some job after each build?

19 views
Skip to first unread message

icetree521

unread,
May 3, 2016, 2:25:26 AM5/3/16
to Jenkins Developers
Usually We will extend the hudson.tasks.Notifier or hudson.tasks.Publisher, but both of them will add a visible step(I mean UI part) into the Post-build action section, is there any extension point that only do the job on background after each build but without any visible UI ? 

thx!

Daniel Beck

unread,
May 3, 2016, 4:25:46 AM5/3/16
to jenkin...@googlegroups.com

> On 03.05.2016, at 08:25, icetree521 <icetr...@gmail.com> wrote:
>
> Usually We will extend the hudson.tasks.Notifier or hudson.tasks.Publisher, but both of them will add a visible step(I mean UI part) into the Post-build action section, is there any extension point that only do the job on background after each build but without any visible UI ?

Depending on what exactly you want to do, BuildListener, RunListener, or BuildStepListener come to mind.

Reply all
Reply to author
Forward
0 new messages