Friday, August 21, 2020 1:54 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Ignore Post Build Job failure in Jenkins Pipeline
Thanks a lot once again, Jeremy. Just curious. Are there any major functional
differences between Declarative and Scripted? I thought there are only minor
difference
Thanks a lot once again, Jeremy. Just curious. Are there any major
functional differences between Declarative and Scripted? I thought there
are only minor differences. So, if something works in Scripted approach, it
should work in Declarative approach as well, right?
With that said, you have provi
I only know scripted, which has 3 options:
wait for completion and propagate errors:
build job: 'lp_systemtest3/master'
no propagate errors
build propagate: false, job: 'lp_systemtest3/master'
don't wait
build wait: false, job: 'lp_systemtest3/master'
On Friday, August 21, 2020 at 1:05:08 PM U
Hi Jeremy,
Thanks a lot for your response. I am using a Declarative approach
(Jenkinsfile). Could you please provide some more details on the don't wait
option, if possible? JobA runs successfully and triggers JobB from Post
build. But if JobB fails, it marks JobA also as failed even though JobA r
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.
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 succes