Correct if I’m wrong guys, but I think you should skip the $ for \$ Jheison Rodriguez From: Elango Thiagarajan Hi folks, I am very new to Jenkins. Kindly help me through. I have few parameters declared in my pipeline script and i need to pass that to environment variables. i tried like below sh """ export GOOL=${params.GOOL} but while execution is throwing bad substitution exception. Any pointers on what wrong here The exported enviornmnet variable will be used as input to run a docker image. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/915D9468-E105-49A6-9D5E-01B1C24CF693%40hxcore.ol. |
- Environment variable - shell Elango Thiagarajan
- RE: Environment variable - shell Ing. Jheison Rodriguez
- RE: Environment variable - shell gmaxera
- RE: Environment variable - shell Jérôme Godbout
- Re: Environment variable - shell Elango Thiagarajan
