Mikael Peigney wrote: > Hi, > > If I understand correctly, Jenkins doesn't publish my XUnit results > because my build fails? > My goal is to have the build to be marked as failed, while still > having some of my post-build script run (in fact, all excepting one).
I don't think you provided enough information to tell. You need to configure the Jenkins job to consume the XUnit output explicitly. > > If I change the failonerror in my Ant task, will it continue to build, > while still marking the build as failed, because there was XUnit errors? > I haven't messed with Ant in ages so I can't tell you anything specific about it. If you are using a Jenkins shell step, it cares about exit status. I assume ant will provide an appropriate exit status. -- Jonathan Rogers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
