使用groovy脚本报错:Exception raised during template rendering: Scripts not permitted to use method hudson.model.Run getDurationString 解决办法 解决: