I have two Jenkins instances running. An old (legacy) one at version 1.614 and a new one with 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?

1

2 Answers

In the Global security menu:

enter image description here

Select this value to display HTML:

enter image description here

6

For enabling it via config: you have to install the configuration as code (CASC) plugin () , and add the following entries to your config file(s - I guess, it is better to have multiple files for a better overview):

 markupFormatter: rawHtml: disableSyntaxHighLighting: false 

If you don't need highlighting, change it to true

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy