Re: Restart from stage

2021-03-23 Thread Gianluca Massera
Hi, I use the following code to walk through all stages of the pipeline for a different reason but it could be an hint for you to achieve your goal: WorkflowRun run = prevBuild.getRawBuild() NodeGraphBuilder graphBuilder = NodeGraphBuilder.NodeGraphBuilderFactory.getInstance(run);  def

Re: Restart from stage

2021-03-22 Thread unlimhost
Thanks, Gianluca. Your professional help, as always, is very operational and useful! Thanks to you, I have implemented the ability to run from any Stage, but I would also like to form in "Active Choices Reactive Parameter" plugin automatic list from the names of Stages {}, which I have in

Re: Restart from stage

2021-03-22 Thread Gianluca Massera
Hi what-ever-is-your-name-:-) I use the "when" block to run only specific stages depending on the parameters: https://www.jenkins.io/doc/book/pipeline/syntax/#when I hope that fits your case too. Cheers, Gianluca. On 22/03/2021 22:47, unlimh...@gmail.com wrote: Are there any examples of

Restart from stage

2021-03-22 Thread unlimhost
Are there any examples of the implementation of running a pipeline from a particular stage? I need to set in the pipeline parameters to make it run on a specific node and from a specific stage. If there are no questions with the first one, what are the easiest options to pass from which to run

Change build display name for restart from stage

2019-06-09 Thread Kalabase Lebelo
Hello, how does one change or inherit parents build display name for when you restart a completed build from a particular stage in a declarative pipeline? I looked at below plugin and it works fine for the initial build, but builds restarted from a stage uses the build number as the display