Re: Custom action on job/build delete

2019-05-31 Thread Baptiste Mathus
Inside a plugin, yes and very easily. (ItemListener.onDeleted https://github.com/jenkinsci/jenkins/blob/892bdf124ebd3b8a386c7e019ce4ebe74262b819/core/src/main/java/hudson/model/listeners/ItemListener.java#L101 ) I don't think I've seen something to do that available as an existing feature on the /

Custom action on job/build delete

2019-05-28 Thread Federico Giovanardi
Hello, we've a pipeline job which is uploading artifacts to a remote server. It's there any way to hook a custom action or a script to the job's delete event to purge the remote data when the job gets deleted by "Discard old build" Best regards. Federico -- You received this message because y