报错:
Jenkinsfile: illegal string body character after dollar sign;solution: either escape a literal dollar sign "\$5" or bracket the value expression "${5}"
问题解决:
把
sh """
"""
改为
sh '''
'''
参考资料:
https://stackoverflow.com/questions/55454137/jenkinsfile-illegal-string-body-character-after-dollar-sign-solution-either-e