jenkins + git +email,git commit message 变量无法填充到邮件内容中

1 jenkins 使用的版本是: 2.7.23
2 邮件发送插件是 Email Extension Plugin
3 构建流程是 maven 项目 + shell 脚本 + docker 构建部署,
4 部署完成发送邮件到相关人员 ,
5 现在的需求是 需要 邮件内容自动填充为 git commit message

遇到的主要问题是 shell 中可以输出git commit message 但是变量无法填充到邮件内容中

阅读 5.9k
1 个回答

我也遇到了这个问题。请问你得到解决了吗?
I've had this problem, too. Did you get the solution?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏