You’re using triple single quotes, which disables groovy string interpolation.
When you use triple double quotes it will work
sh """
echo "${configFile}"
"""
You’re using triple single quotes, which disables groovy string interpolation.
When you use triple double quotes it will work
sh """
echo "${configFile}"
"""