I've heard about the Naginator plugin, but unfortunately it's only for freestyle job type.
Is there any solution for pipeline jobs to be triggered if they failed? I thought about creating a command in the syntax or maybe triggering a freestyle job on the pipeline.