Unless you plan on stopping mid-checkout, I can think of a single way
to do what you want. After the checkout, run "svn status". If you get
anything returned, you know that the checkout/update failed. From
there, you can force a build failure.

I don't think there's an easy way to parse the console output (unless
some plugin exists that allows your build system to do this).

On Mon, Aug 6, 2012 at 10:13 AM, phil swenson <[email protected]> wrote:
> 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



-- 
David Weintraub
[email protected]

Reply via email to