-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Hello,
I need to get sh return from an external library inside my pipeline.
The code I execute in my shared library is the following :
def pomLocations = steps.sh(script: "find . -name pom.xml", returnStdout: true)
Problem
**After that I do
steps.sh 'echo "${TMPPackageLocation}"'
But result is empty
Note: `steps.sh(script: "find . -name pom.xml")` does work and result is not empty
Thanks a lot in advance,
JF