Use https://wiki.jenkins-ci.org/display/JENKINS/Naginator+Plugin with option "Only rerun build if regular expression is found in output" selected. Andy.
-----Original Message----- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of phil swenson Sent: 06 August 2012 15:14 To: jenkinsci-users Subject: restart broken build when certain string is detected? I have a large Jenkins setup in Germany running against SVN in the US. Unfortunately, I get quite a few broken builds from SVN flaking out (network drops I assume). We've never had this problem with everything being in the same datacenter. I don't have a good solution to preventing the problem, so what I'd like to do is rerun the job when a certain text string is detected (org.tmatesoft.svn.core.SVNException: svn: E175002: REPORT /svn/sag/!svn/vcc/default failed). ideas? thanks