Available since Jenkins 2.235.
View the complete list of symbols available to use on GitHub
Jenkins Symbols are an extensive and consistent collection of icons for use in Jenkins and plugins. Symbols are intended to be used everywhere a traditional icon would be used, such as in the sidebar, in buttons and in tables. Symbols are scalable, support different weights and adapt to the user’s theme.
Using symbols in your view is simple. Use the existing
icon component and set the
value to the symbol you want, prefixed with
<l:icon src="symbol-search" />
It’s possible to add alt text and custom classes to symbols, for example:
<l:icon src="symbol-search" alt="Search" class="custom-class" />
l.icon(src: 'symbol-search', alt: 'Search', class: 'custom-class')