Jenkins - Passing parameter to groovy function
问题 I've been trying to call another groovy function with parameters inside my pipeline without any luck. The groovy function I am passing the parameters to consists of a bash script, but this bash script does not recognize the parameter(s) I am passing to it. If however the parameter passed by i defined as a parameters {} in the pipeline, then it works, but I do not want this. PROBLEM: The shell script does not recognize/understand the arguments, the variables are empty, no value.