I want to use a variable which I am using inside of my Jenkinsfile script, and then pass its value into a shell script execution (either as an environment varia
Jenkinsfile
try this:
for (i in [ 'a', 'b', 'c' ]) { echo i sh ''' echo "from shell i=$i" ''' }