Are you using scripted or declarative? I will assume scripted since that's all I know :)
There's a don't wait option. Or you could wrap the call in a try/catch. Or you could save currentBuild.result before calling job B and restore it after On Friday, August 21, 2020 at 5:09:57 AM UTC-4 venh...@gmail.com wrote: > Hi, > > I have a JobA defined in Jenkins Pipeline. When JobA builds successfully, > I trigger JobB from the Post step. But, if JobB fails in some step, it > marks JobA also as Failed. > > Is there a way (some setting or option) to ignore the failure in JobB so > that it doesn't fail JobA (since it built successfully)? > > Regards, > Venkatesh > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2ff128f9-90d4-496c-942e-321101096fa3n%40googlegroups.com.