Skip to content

Dev tools symbols API plugin. Provide to other plugin symbols of common Dev tools

License

Notifications You must be signed in to change notification settings

jenkinsci/oss-symbols-api-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev Tools Symbols API Plugin

Jenkins API Plugin that provide logo of common Dev tools also known as "symbols", for your Jenkins plugins.

Build Status Jenkins Plugin GitHub release Symbols

Contributors

Usage

This plugin provides some tools logo of common Dev tools also known as "symbols", for your Jenkins plugins.

Source of the SVG are from

All icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder, nor vice versa.

Refer to the previous list for the trademark policy of each organization.

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

To use a symbol, reference the icon as following:

Jelly

<l:icon src="symbol-symbolName plugin-oss-symbols-api" />

Groovy

l.icon(src:"symbol-symbolName plugin-oss-symbols-api")

Java

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

One example is the usage with the badge plugin:

node {
    addBadge(icon: "symbol-prometheus-icon-solid plugin-oss-symbols-api")
}

See https://plugins.jenkins.io/badge/ for more details.

Symbol supports standard and dark theme for solid icon

Color is also supported

Other example include the custom-folder-icon and customizable-header plugins.

LICENSE

Licensed under MIT, see LICENSE