1. attachmentsPattern不报错也没附件 在用Jenkins的emailext插件的时候遇到问题: 情况一:报错且无附件 pipline post { emailext ( subject: "daily build", attachmentsPattern: "/data/abc/test_*.html", body: '''${SCRIPT, template="groovy-html.template"}''', to: "example@example.com