Jenkins Enterprise already has an
plugin, that does exact thing, but open-sourced Jenkins is lack of this essential plugin, so I recently started working this. (
https://github.com/10000TB/state-replay/blob/master/README.md), but it is a WIP, and still need to figure out many things to have a working thing. So posting here to see if there is any folks also interested in doing this.