Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.93 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.93 KB

IoniconsAPI plugin

Build Status Gitter Jenkins Plugin Jenkins Plugin Installs Contributors

Usage

This plugin provides ionicons, also known as "symbols", for your Jenkins plugins.

Add the ionicons-api as dependency to your pom.xml:

See the plugin site for a snippet.

To use a symbol, reference the icon as following:

Jelly

<l:icon src="symbol-symbolName-outline plugin-ionicons-api" />

Groovy

l.icon(src:"symbol-symbolName-outline plugin-ionicons-api")

Java

@Override
public String getIconClassName() {
    return "symbol-symbolName-outline plugin-ionicons-api";
}

Preferably, use symbols containing -outline, if available, they fit the best in the Jenkins UI and are used in the Jenkins plugin ecosystem.

A list of all symbols is available on the Ionicons website.

Custom icon additions are documented on GitHub.

More information about symbols and themes in Jenkins can be found on weekly.ci.jenkins.io.

If an icon is not theme-able, please raise an issue.