Hi,

I wanted to try the first option of setting maven.test.failure.ignore=false.
Where can i set this option?
I looked through the "configure system" page and did not find a place where 
to edit it.

Thanks,
David

On Wednesday, November 6, 2013 2:17:57 PM UTC+2, kutzi 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
> - 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.
>   
> **
>  
> 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 <> 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 
>> 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] <javascript:>.
> 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