On Thu, Apr 4, 2019 at 2:22 PM Nisarg Shah <
nissh...@gmail.com> wrote:
> Here I want to delete builds,artifacts and workspaces created by External Workspace Manager.
Artifacts are normally deleted alongside a build. (Unless you are
using `artifact-manager-s3`, by design.) Unless I am missing
something, it is the responsibility of the
`external-workspace-manager` plugin to implement deletion of (unused?)
external workspaces when builds are deleted, and that is orthogonal to
your proposal. `RunListener.onDeleted` is simply the hook plugins
receive to notify them to do any additional cleanup they need to,
however they see fit.