Re: Pipeline retry step

2021-02-08 Thread Graham Hay
; > > Cheers, > > Gianluca. > > > > > > *From:* jenkinsci-users@googlegroups.com > *On Behalf Of *Graham Hay > *Sent:* 08 February 2021 12:50 > *To:* Jenkins Users > *Subject:* Pipeline retry step > > > > > https://www.jenkins.io/doc/pipeline/st

RE: Pipeline retry step

2021-02-08 Thread gmaxera
To: Jenkins Users Subject: Pipeline retry step https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#retry-retry-the-body-up-to-n-times Can someone clarify for me what retry(1) will do? Will that run the step twice, if it fails? Or does the count include the original attempt? (I tried

Pipeline retry step

2021-02-08 Thread Graham Hay
https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#retry-retry-the-body-up-to-n-times Can someone clarify for me what retry(1) will do? Will that run the step twice, if it fails? Or does the count include the original attempt? (I tried to find the source code, but didn't even know