Hello Kirk,

 

Before making job success, we need to check that post build task status is 
success.

 

Please help to define how to mark main job as success only if post build task 
is success.

 

Regards,
Gyanendra Pratap Mishra

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

 

 

Add a /bin/true on failed statement.

 

 

Try:

 

false || true

 

or

 

make test || true

--

KTK

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

 

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