How to rebuild Jenkins job with old stable git revision if the latest revision fails the build
<p>I am running a Jenkins job that builds automatically when change is pushed to master.</p>

<p>However, I want to re-run the Job if the Latest commit fails the build, with the older revision that is stable.</p>

<p>How can I achieve that in Jenkins.</p>

<p>I could fetch the latest-stable build using Jenkins URL but what next?</p>