Users want continuous emails sent out until the build is fixed, in order to prompt people into action.

Configuration

Simply install the plugin, and then check the Post-Build action "Retry build after failure" on your project's configuration page.

If the build fails, it will be rescheduled to run again after the time you specified. You can choose how many times to retry running the job. For each consecutive unsuccessful build, you can choose to extend the waiting period.

The following options are also available:

Rerun build for unstable builds as well as failures

Only rebuild the job if the build's log output contains a given regular expression

Rerun build only for the failed parts of a matrix job

The plugin also adds a rerun button for in the build section.

Version History

Version Unreleased. (No due date)

Fix plugin javadocs

Preserve cause history

Add environment variables with the value of retry count and number of retries left

I'm not quite sure what reschedule means in this case? Is the next build started...

I'm not quite sure what reschedule means in this case? Is the next build started immediately after the failed build (possibly delyed by the quiet period?)?

It would be very helpful to have a cooldown period before rescheduling the build. IMO it is very probable that an external resource is still unavailable when you restart the build immediately. But if you wait for some time chances are higher that it is available again.

Edit: I just found out that the schedule-failed-builds plugin does something like that.

We're using the plugin since a long time and especially for network-jobs with un...

We're using the plugin since a long time and especially for network-jobs with unstable connections this plugin works great. Thx.
But...
Am I right: aborting a build manually will cause a rebuild as well? Is it possible to suppress (manually) aborted jobs from rebuild?

Can anyone point me to info on configuring this plugin. I installed it but my jo...

Can anyone point me to info on configuring this plugin. I installed it but my job doesn't auto restart.

I've checked "Rerun Build" , Fixed Delay of 60, "Max number of successive failed build" = 3. I'm running Jenkins in RedHat as a daemon and there is nothing in the log file. Are the parms documented anywhere. This plugin has potential but the abysmal lack of documentation makes it very frustrating. Thanks for any help.

as others have noted, this could be a great plugin but the documentation is awef...

as others have noted, this could be a great plugin but the documentation is aweful. i'm trying to use the fixed -> delay before retrying parameter and have no idea what the units are for this value. at a minimum it would be nice to add a pop-up to this parameter indicating the units. if anyone knows what the units are, please post!

Hi,
The retry works well but if the job is a triggered with parameters job the ...

Hi,

The retry works well but if the job is a triggered with parameters job the Parent caller job will fail (doesnt see its being retried).

To me this is just a respawn with same parameters functionality. A retry should not have a build result until all the retries are finished. this means that if you set an email on failure wouldnt be triggered until all retries have failed.