Re: Pipeline build not stopping when stage marked as failed

2018-10-16 Thread Paul D'Ambra
That worked perfectly, thanks P On Tue, 16 Oct 2018 at 10:40 Paul D'Ambra wrote: > I'll try that today! Thanks so much for your time! > > P > > On Tue, 16 Oct 2018 at 08:57 Andrew Bayer wrote: > >> Hi - >> >> Ah, ok, I think the issue is that d

Re: Pipeline build not stopping when stage marked as failed

2018-10-16 Thread Paul D'Ambra
ckPublisher(...) > script { > if (currentBuild.result == "FAILURE") { > error("Dependency Check failed") > } > } > > A. > > On Mon, Oct 15, 2018 at 4:56 PM Paul D'Ambra > wrote: > >> I think I've stripped out everything that

Re: Pipeline build not stopping when stage marked as failed

2018-10-15 Thread Paul D'Ambra
kinsfile? Thanks. > > On Mon, Oct 15, 2018 at 10:59 AM Paul D'Ambra > wrote: > >> Hi, thanks for the link? >> >> I find the pipeline documentation a bit limited... there are no examples >> of usage in that link. Are you saying I need to "wrap" the de

Re: Pipeline build not stopping when stage marked as failed

2018-10-15 Thread Paul D'Ambra
oint me at an example of how that might work? Thanks On Mon, 15 Oct 2018 at 09:56 Ramanathan Muthaiah wrote: > Most likely, you need this 'error > <https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#error-error-signal> > '. > > /Ram > > > On Thur

Pipeline build not stopping when stage marked as failed

2018-10-04 Thread Paul D'Ambra
I have a declarative Jenkins pipeline that in a parallel stage runs the dependency check plugin. With their support I have the plugin configured so that if a certain number of new vulnerabilities are detected it