Hi, 
I'm trying out the Jenkins Workflow plugin and I was wondering if there is 
any way to pass values from a shell script to the workflow script without 
going through writing them in a file a reading and parsing the file from 
the workflow script.
I've checking 'env' and 'withEnv' but they both seem to work only in one 
direction (passing values from workflow script to a shell script in the 
form of environmental variables.

Basically what I'm trying to achieve is something llke:

sh 'LAST_VERSION="$(git describe --abbrev=0 --tags)"'

and now being able to access the result of $(git describe --abbrev=0 
--tags)/the value of LAST_VERSION from the workflow script

Thanks in advance

L

-- 
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/d10bfdf9-ccc8-4280-8ff3-ecd5ec5c1d8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to