Naginator Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID naginator Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
1.16 (archives)
Oct 31, 2015
Source Code
Issue Tracking
Pull Requests
Open Issues
Pull Requests
Andrew Bayer (id: abayer)
Nicolas De Loof (id: ndeloof)
Tomer Galun (id: galunto)
Usage Installations 2014-Nov 2320
2014-Dec 2385
2015-Jan 2521
2015-Feb 2599
2015-Mar 2877
2015-Apr 2915
2015-May 2979
2015-Jun 3147
2015-Jul 3323
2015-Aug 3487
2015-Sep 3640
2015-Oct 3758


This plugin allows you to automatically reschedule a build after a build failure.
This can be useful in several cases, including:

  • The build is dependent upon external resources, that were temporarily unavailable (DB down, network down, website down, etc).
  • Users want continuous emails sent out until the build is fixed, in order to prompt people into action.


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.


JIRA Issues (7 issues)
Type Priority Key Summary
Bug Minor JENKINS-31318 Retry button invisible with "Build" project role
New Feature Major JENKINS-29765 Build Retry (both Naginator and Rebuild) pick the latest commit, not retrying one
Improvement Minor JENKINS-26954 add ability to put out special message if max retries is hit with no successful build
Bug Minor JENKINS-26118 Naginator restarted build without any reason
New Feature Major JENKINS-25037 Naginator: ability to restart pipeline if job fails
Bug Minor JENKINS-24903 Unabortable builds due to catastrophic backtracking regular expression
New Feature Major JENKINS-21241 Plugin should expose environment variables to tell how many times naginator has restarted the build

Version History

Version 1.16 - Oct 31, 2015

Version 1.15 - Apr 9, 2014

  • Make JobProperty optional for jobs
  • Decrease require core for ancient jenkins users

Version 1.14 - Dec 19, 2014

Version 1.13 - Nov 12, 2014

  • Fix progressive delay time calculation (behavior slightly changed)
  • Fix rerun behavior for unstable builds in matrix
  • Better log the trigger cause
  • Fix badge icon for the case in which Jenkins is not in the root folder
  • Don't show rerun link if user doesn't have permissions

Version 1.12 - Aug 25, 2014

  • Added the option to rerun only the failed parts of a matrix
  • Retry will occur only when all parts of a matrix finish
  • Rebuild link verify authentication
  • Don't rerun job on manual cancel
  • Fix NPE when running Maven build

Version 1.11 - April 8, 2014

  • Naginator now retain original build causes on retry

Version 1.9 - Nov 8, 2013

  • Re-schedule limit doesn't consider previous builds that aren't related to Naginator
  • Added a badge icon to re-scheduled builds
  • Bug fixes

Version 1.8 - June 12, 2012

  • New extension point to configure schedule delay
  • Fixed delay implementation
  • Parameters for build are reused on schedule
  • Limit for number of build attempts after failure

Version 1.7 - May 31, 2012

Version 1.6.1 - May 3, 2012

  • Fix compatibility with build-timeout plugin (JENKINS-11594)
  • Use a RunListener

Version 1.6

  • Not released (release:prepare failed on ndeloof computer :-/)

Version 1.5 - Dec 7, 2009

  • Added support for not rebuilding if the build is unstable.
  • Added support for only rebuilding if a regular expression is found in the build log.

Version 1.4 - Jan 26, 2009

  • The plugin progressively introduces a delay until the next build. It starts with 5 minutes and goes up to one hour.

Version 1.3 - April 9, 2008

  • After way too long, the release is actually out there. 1.1 and 1.2 are missing due to my inability to use the maven release process correctly  .

Version 1.0 - Sept 17, 2007

  • Initial Release - release didn't actually make it to the repository...


plugin-trigger plugin-trigger Delete
nag nag Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment