Steve, Yes this is possible.
The plugin you want is : Centralized Job(Re)Action<http://wiki.jenkins-ci.org/display/JENKINS/Centralized+Job%28Re%29Action+Plugin> Centralized configuration to restart jobs when a pattern occurs in the job console output. It may not be ideal, but definitely helps! ... Mgimza On Mon, Oct 15, 2012 at 4:32 PM, sbrown48 <[email protected]> wrote: > Can I restart a job automatically if it fails ? > > I am running a java program against a site out of my control. > I have a timeout in there to fail if it takes too long. > If it fails I want to restart the job x number of times. > > Is this possible? >
