If you want to unconditionally return zero, do

set +e
<command>
exit 0

Cheers,
Andrew

On Tuesday, September 17, 2013, alok kumar wrote:

> Hi All,
> I have a requirement in which I am executing  some executable from the
> shell or batch command build step.
>
> Now, there is a known bug due to which the exit code of that shell or
> batch command build step is non-zero, due, to which the build is getting
> terminated as a failure.
>
> I do not want this behaviour as we are aware of this issue and hence would
> like to overlook it and go ahead with the next set of build steps.
>
> Is there any way to accomplish this? If so, whats the best way to do it?
>
> Thanks,
> Alok
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com <javascript:_e({},
> 'cvml', 'jenkinsci-dev%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>


-- 
--
Andrew Melo

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to