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 PiPleine. Are there ready 
examples of code to obtain a list of names of all Stages from code pipeline (to 
select the stage I need before building the pipeline) ?


> 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 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 <stage name> from which 
>> to run the pipelines, skipping the previous ones?
>> Something similar I found here but it's not enough for me to implement this 
>> task:
>> https://github.com/SAP/jenkins-library/blob/master/vars/pipelineRestartSteps.groovy
>>
>> https://issues.jenkins.io/browse/JENKINS-52391
>>
>> Thanks!
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/232458043.20210323032212%40gmail.com.

Reply via email to