栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

jenkins job description safe html font color设置后无效

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

jenkins job description safe html font color设置后无效

jenkins job description safe html font color设置后无效

查下了原因是以为 最新版本的插件 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:           
  • MESSAGE
  • rendered:
  • MESSAGE
  • solution:
  • MESSAGE
  • "title" attributes are removed from all tags IMPACT: no more tooltips on our tables No workaround source: MESSAGE rendered: MESSAGE "rowspan" / "colspan" attributes are removed from "td" and "th" tags IMPACT: pre-existent tables are now misaligned No workaround source: Build rendered: Build

    jenkins issue 地址

    解决办法删除下最新的插件,下载之前的版本如1.8重启即可:

    https://updates.jenkins.io/download/plugins/antisamy-markup-formatter/1.8/antisamy-markup-formatter.hpi

    转载请注明:文章转载自 www.mshxw.com
    本文地址:https://www.mshxw.com/it/890500.html
    我们一直用心在做
    关于我们 文章归档 网站地图 联系我们

    版权所有 (c)2021-2022 MSHXW.COM

    ICP备案号:晋ICP备2021003244-6号