相信很多人在jenkins 更新到1.553版本(及以上版本)后,发现自己之前在job description写好的html代码,都失效了,现在显示的都是html源码。
我看了1.553版本changelog,发现有以下改动(见标红)
What's new in 1.553 (2014/03/02)
- Build history widget only showed the last day of builds. (Due to JENKINS-20892, even with this fix at most 20 builds are shown.) (issue 21159)
- Random class loading error mostly known to affect static analysis plugins. (issue 12124)
- After restarting Jenkins, users known only from changelogs could be shown as
First Last _first.last@some.org_
, breaking mail delivery. (issue 16332) - CLI
build -s -v
command caused 100% CPU usage on the master. (issue 20965) - Slave started from Java Web Start can now install itself as a systemd service.
- Split the “raw HTML” markup formatter out of core into a bundled plugin.
- Do not show Maven modules and matrix configurations in the Copy Job dialog. (issue 19559)
- Fix autocompletion for items in folders. (pull request 1124)
原来在这次更新后,Configure Global Security页面有个Markup Formatter, 将它由Escaped HTML改成Raw HTML。
然后再去修改job description就好了