Hello Jonathan,

 

Rerun the whole job would not be helpful if there are 2 tests failure out of 
10. Rerun would unnecessarily run all 10 tests again.

 

-Gyanendra

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of JonathanRRogers
Sent: Thursday, February 27, 2014 3:42 AM
To: [email protected]
Subject: Re: How to FInish Job Success even if it failed

 

On Wednesday, February 26, 2014 10:28:49 AM UTC-5, Gyanendra Mishra wrote:

Hi There

i am stuck at a point and need help 

i am executing webdriver scripts using jenkins

if any test fails, build is failed

and then i am using post build action to rerun the failed scripts

my problem is that if post build task is successful but i see the overall job 
status as failed

is there any way to mark job as success if post build task is successful

i tried to add other post build task and text-finder plugin but no luck

using ant target in batch script

 


It might be easier to simply re-run the job on failure rather than trying to do 
something post-build. I accomplish this automatically with Naginator:

<URL:https://wiki.jenkins-ci.org/display/JENKINS/Naginator+Plugin> 

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Jenkins Users" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/jenkinsci-users/NKZBw64cy00/unsubscribe.
To unsubscribe from this group and all its topics, 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