Using the Restart Aborted Builds plugin

If your Jenkins instance was abruptly terminated, after restarting go to Manage Jenkins. In case there were any builds in progress, you will see a warning at the top of this screen.

Figure 18.1. Aborted Builds Administrative Warning

admin warning

Click on the link to see a list of all the running builds known to have been interrupted. You can click on any build to see details about it, such as the changelog or console log up to the break point. If the job was parameterized, the list will display the parameter values for that build as a convenience.

Figure 18.2. Aborted Builds List

index

If you wish, click the Restart build button next to an aborted build. A new build of the same job will be scheduled, including any associated parameters. Restarting the build either with this button or in any other manner will remove the item from the list.

The list of aborted builds is saved in $JENKINS_HOME/abortedBuilds.xml in case diagnosis of bugs is required.