Are your Jenkins builds failing due to unavoidable reasons like unavailability of external databases, file systems etc? The only solution yo...
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEZgJknfmdLd8mG2AjCTlIQAkzunLSfuPlbZJmetQjQc26Raz89pDkoCGlsZlqKXjLcY8V2L5Gqipd2JyGpi85K3bICrQ9tobyGhOKRX6cigkIgaR3LQ6VBD5CcyOx14soGrdoyw/s1600/jenkins-logo.png)
Setup
For this, we are going to use a plugin named Naginator, version 1.8 is available here for download. As the first step, please install this plugin into your Jenkins.![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIxQG6oVcF439WNs5DhdDw_RbC8ylmoiJkUnHbr_dGJjhG3jtXQP6R1HiDI26C5l8F5j3av5149HEzxJEZGmUSoU4ZP-piVlVPNUmgJvxSkwvGwrlk1soM8-oVXE4KuBlDCRWvJA/s1600/Add-post-build-action-button.png)
Configuration
First create a new job. If you need to retry an existing job, please open the job configuration page. Then click on the "Add post-build action" button and select "Retry build after failure". This will add a new configuration section as shown in the below image.![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtgAgXxuqG-hqBJrW9dC1TFvvRDKVnsfKsCYdT-MaUPgDUgmJXy1hLbd1bL3b3s8S6_RDuFehIAE381KhxOhbwAAmgus76d0rzp3w90NFB1XuHEmSQ0dkch6M30M200dRvvd3Ycw/s1600/naginator-configurations.png)
There are 3 configuration settings (as numbered in above image). Let's discuss each in details below.
COMMENTS