On 6 November 2013 12:17, Christoph Kutzinski <[email protected]> wrote:

> No, it's much simpler IMO.
>
> The Maven job type always sets maven.test.failure.ignore to true (
> http://maven.apache.org/maven-1.x/plugins/test/properties.html),
> so the build can run to the end and Jenkins can record the test results
> and set the build result to UNSTABLE - instead of FAILURE which would
> happen if maven.test.failure.ignore wouldn't be set.
>
> Workarounds:
> - set maven.test.failure.ignore explicitely to false. AFAIK Jenkins should
> detect this and not override it
>

that turd is getting nice and glossy


> - use the deploy option of jenkins to deploy the artifact instead of using
> the deploy goals - though I've experienced to not being very stable in the
> past, but that was some years ago.
>

oh look I can see my face in the turd


>
> *Gesendet:* Mittwoch, 06. November 2013 um 12:22 Uhr
> *Von:* "Stephen Connolly" <[email protected]>
> *An:* "[email protected]" <[email protected]
> >
> *Betreff:* Re: jenkins maven project executes maven deploy even when
> tests fail
>
> http://javaadventure.blogspot.ie/2013/11/jenkins-maven-job-type-considered-evil.html
>
> I am willing to bet that it is the Maven Job type's evil hooks that are
> causing your issues... I believe there is some turd polishing hack on top
> of a hack that lets the Maven job type intercept the deploy and then do it
> all at the end...
>
> On 6 November 2013 07:02, David Gang <[email protected]> wrote:
>>
>> Hi all,
>>
>> When i run maven deploy with eclipse and the tests fail, it does not
>> continue to deploy.
>> When a run the same project through jenkins with the target deploy, it
>> continues to deploy.
>> How can i prevent it from happening?
>>
>> Thanks,
>> David
>>
>>
>>
>> --
>> 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]<http://jenkinsci-users%[email protected]>
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> 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.
>
> --
> 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.
>

-- 
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.

Reply via email to