Create a job for deleting other jobs. I have a job that, for a specified tab 
will iterate over each job in it and delete all workspaces across the nodes for 
it. Then it deletes all the jobs, then the tab. You can build one to do 
database cleanup before deleting the job.

> On Sep 15, 2014, at 6:58 AM, Robert Dunkley <kroba...@googlemail.com> wrote:
> 
> Is it possible to run a Bash or Groovy script every time a job is deleted? 
> Need to cleanup MySQL DB and a few other bits when a job is deleted.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to