查下了原因是以为 最新版本的插件 antisamy-markup-formatter.jpi 为了安全更新导致的:
将 Jenkins 升级到最新的 LTS 版本 2.263.1 后,将 HTML 放入工作描述或构建描述以某种方式在服务器端进行处理并删除一些内容,例如:
After upgrading Jenkins to the latest LTS version 2.263.1 the HTML put in job description, or build description is somehow processed server side and stuff is removed, like:
"font" tags are removed completely IMPACT: lost all formatting (color, font size, font effects) workarround is to set the font as a style source:
jenkins issue 地址
解决办法删除下最新的插件,下载之前的版本如1.8重启即可:https://updates.jenkins.io/download/plugins/antisamy-markup-formatter/1.8/antisamy-markup-formatter.hpi



