title: How can I execute code on "Prune stale remote-tracking branches" in jenkins?
body: <p>When a branch is removed I'd like to execute additional clean up code for things like artifacts created by the job (e.g. AMIs, docker images, terraform services). I'm using the declarative pipelines, is there a hook or plugin that allows me to achieve this?</p>