Jenkins 职位描述中的 HTML

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33821217/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 18:31:35  来源:igfitidea点击:

HTML in Jenkins job descriptions

htmljenkins

提问by user1587852

I have two Jenkins instances running. An old (legacy) one at version 1.614 and a new one with 1.633.

我有两个 Jenkins 实例正在运行。版本为 1.614 的旧(遗留)版本和版本为 1.633 的新版本。

In the old one it is possible to use HTML in the job description (it even does syntax highlighting editing it). The new one doesn't. HTML content is escaped and shown as plain text. I could not find a change in the release notes explaining this behavior. Is there a configuration that I'm missing?

在旧版本中,可以在工作描述中使用 HTML(它甚至可以对它进行语法高亮编辑)。新的没有。HTML 内容被转义并显示为纯文本。我在发行说明中找不到解释此行为的更改。是否有我缺少的配置?

回答by Bruno Lavit

In the Global security menu:

在全局安全菜单中:

enter image description here

在此处输入图片说明

Select this value to display HTML:

选择此值以显示 HTML:

enter image description here

在此处输入图片说明