Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML in Jenkins job descriptions

Tags:

html

jenkins

People also ask

How do I change from Jenkins plain text to safe HTML?

Once the plugin is installed, go to Manage Jenkins → Configure Global Security → Markup Formatter. Select Safe HTML for the Markup Formatter option. User-submitted text, like build, job, and view descriptions, will then support HTML formatting, but will be sanitized by removing potentially dangerous elements.

What markup Formatters are present in Jenkins?

The markup formatter can be configured in Manage Jenkins » Configure Global Security » Markup Formatter. The default markup formatter Plain text renders all descriptions as entered: Unsafe HTML metacharacters like < and & are escaped, and line breaks are rendered as <br/> HTML tags.


In the Global security menu:

enter image description here

Select this value to display HTML:

enter image description here