Do an action after a deleted build

18 views
Skip to first unread message

Jim SERRA

unread,
Nov 3, 2015, 3:48:59 AM11/3/15
to Jenkins Developers
I'm using RunListener to try to do an action on a deleted build.
The goal for me is to do an action after the build is deleted and the method onDeleted() don't provide it (the build is not yet destroyed) so I don't know how to do.
I tried to use fireDeleted() but I don't understand how to use it (it didn't do a thing when I tried).

Jim,

Oleg Nenashev

unread,
Nov 5, 2015, 10:28:34 AM11/5/15
to Jenkins Developers
What do you mean under "destroyed"?
The object in memory exists, but this build should be deleted from disk and from Job at this moment

вторник, 3 ноября 2015 г., 9:48:59 UTC+1 пользователь Jim SERRA написал:

Jim SERRA

unread,
Nov 5, 2015, 11:26:56 AM11/5/15
to Jenkins Developers
I wanted to say deleted, It said onDeleted() is done right before it delete the build and what I want is to do my action after the build deleted
Reply all
Reply to author
Forward
0 new messages