Answer the question
In order to leave comments, you need to log in
How to execute pipeline on the required stage?
There is a pipeline with the stage1/stage2 (Webtarget) selection parameter.
Only the if construct comes to mind when choosing the right server
if ("${params.Webtarget}" == "stage1")
. Are there any other ways, otherwise the pipeline will be too long because there are 10 test servers.
Thank you
Answer the question
In order to leave comments, you need to log in
I offer this option. Use the Extensible Choice Parameter Plugin, where you can specify stage1/stage2 for Description and actual server addresses for Value.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question