jenkins pineline 变量传值到 shell

VAR='hello' 
sh """  
 echo $VAR
"""

注意注意,要双引号sh """ """,不要sh ''' '''