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

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

Re: Pipeline & GH pull requests

2017-02-16 Thread Graham Hay
In case anyone else is playing along (or for future me), I fixed the first problem by specifying "master" instead of "*" for branches to build: [image: Inline images 1] It noticed force pushes after that too. And I discovered that the plugin was listening

Re: Best practices for develop/release branch model with pipeline

2016-10-28 Thread Graham Hay
This is interesting, it's something I've been struggling with while converting our current system over to the new world (I really like the stage view!). We currently have a "pipeline" of freestyle jobs, that pass artifacts down the line. Build (and test) -> Deploy to stage -> Deploy to prod.

Re: Pipeline & GH pull requests

2016-10-26 Thread Graham Hay
but that's not our workflow. On 29 September 2016 at 15:44, Graham Hay <grahamr...@gmail.com> wrote: > Is there any way to get the id of a pull request, in the brave new > pipeline world? It was exposed as $ghprbPullId when using the GHPRB > <https://github.com/janinko/ghprb&g

Pipeline & GH pull requests

2016-09-29 Thread Graham Hay
Is there any way to get the id of a pull request, in the brave new pipeline world? It was exposed as $ghprbPullId when using the GHPRB plugin. I'm using a GH Org Folder & Multibranch, with a Jenkinsfile. Also, what do I have to do to get something to appear

SSH Agent w/ passphrase

2015-12-07 Thread Graham Hay
Hi, Is there any way to make the ssh agent plugin prompt for a passphrase? I'd prefer not to store the passphrase on jenkins. I'm sure I can cobble something together with a build parameter and some shell, but I thought I'd make sure I wasn't missing something obvious first. Thanks, Graham