Get all ball colors/statues in jelly

13 views
Skip to first unread message

Gavin Mogan

unread,
Dec 20, 2019, 4:35:23 AM12/20/19
to jenkin...@googlegroups.com
Before I spend too much time on this, does anyone have an endpoint or example of how I can get all the various status images? I want to be able to use the right path for a status in javascript.

Gavin

Ullrich Hafner

unread,
Dec 20, 2019, 7:31:11 AM12/20/19
to Jenkins Developers
In Jelly you can reference them using
${resURL}/images/24x24/[color].png
You can see the list of available icons at jenkins-home/war/images.
They are defined in the BallColor class in Java.

Am 20.12.2019 um 10:35 schrieb 'Gavin Mogan' via Jenkins Developers <jenkin...@googlegroups.com>:

Before I spend too much time on this, does anyone have an endpoint or example of how I can get all the various status images? I want to be able to use the right path for a status in javascript.

Gavin

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_Duvmcf7qagot7xn4aUeXAQTrG1mmA1Gr8C2Zp7x6cBp-fg%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages