New answers tagged

0

Use the Active Choice Parameter plugin which allows you to run a Groovy script to dynamically load values for your parameters.


1

@Mkash, don't you know in advance what services you have in your services.yaml file? Maintain a list in groovy, and see whether the input is in that list or not. Something like: availableServices = ["ew_ws_gateway", "ingress"] services = ["a", "b", "c", "ew_ws_gateway"] services.each { svc -> ...


3

Rebuild, using the Rebuilder plugin allows a completed job to be re-executed while allowing you to change the parameters, assuming your job is parameterized. Replay does something similar, except it doesn't show you parameters. Instead, it shows the pipeline code directly. This is helpful when wanting to test changes iteratively as you can click Replay, ...


Top 50 recent answers are included