snippetMinor
How to get the classic Jenkins build status icons back?
Viewed 0 times
iconsthejenkinsclassicstatusbackgethowbuild
Problem
From my POV the classic Jenkins build status icons were, and still are, a masterpiece of icon art:
All the others weren't, and still aren't, bad either. (How is the saying? "If it ain't broke, don't break it!"? :)
While I appreciate that the new ones are SVGs, this looks more like a shuriken that killed my build, rather than a sun and this cloud looks boringly simplified compared to the classic one, looks like being drawn in a 101 MS Paint class.
How can I get the classic icons back into my Jenkins instance? They're still all there in the
All the others weren't, and still aren't, bad either. (How is the saying? "If it ain't broke, don't break it!"? :)
While I appreciate that the new ones are SVGs, this looks more like a shuriken that killed my build, rather than a sun and this cloud looks boringly simplified compared to the classic one, looks like being drawn in a 101 MS Paint class.
How can I get the classic icons back into my Jenkins instance? They're still all there in the
jenkins.war.Solution
That icon change did not go over well. JENKINS-65124 was raised as a result.
The change did two things:
-
It overhauled the how the images are consumed such that they are served up as SVG now. The new ones are now served up from:
-
It replaced the "Classic icons" from the Tango Pproject with new flat icons from jenkins-core-theme. The Tango icons were not incorporated into the weather-sprite.svg.
I was not a fan of the Classic icons (too convoluted for 48px or smaller) or new set (see Jenkins issue), so I took a stab at an alternate set, available attached to the issue as weather-jenkins.svg; just rename to
Your solution to get the Classic icons back would be to incorporate the SVG for the five Tango icons into
btw: cross-posting is usually frowned upon, but also reinforces my meta concern that no one knows where to post Jenkins issues w/o proper guidance.
The change did two things:
-
It overhauled the how the images are consumed such that they are served up as SVG now. The new ones are now served up from:
${JENKINS_HOME}/war/images/build-status/weather-sprite.svg, along with the build-status icons from .../build-status-sprite.svg-
It replaced the "Classic icons" from the Tango Pproject with new flat icons from jenkins-core-theme. The Tango icons were not incorporated into the weather-sprite.svg.
I was not a fan of the Classic icons (too convoluted for 48px or smaller) or new set (see Jenkins issue), so I took a stab at an alternate set, available attached to the issue as weather-jenkins.svg; just rename to
weather-sprite.svg and drop into the exploded war location.Your solution to get the Classic icons back would be to incorporate the SVG for the five Tango icons into
weather-sprite.svg in place of the existing definitions. Unfortunately, the straight replace does not render properly, resulting in a loss of the gradient shading (which makes up most of the SVG definitions). I don't know enough about SVG to sort it out.btw: cross-posting is usually frowned upon, but also reinforces my meta concern that no one knows where to post Jenkins issues w/o proper guidance.
Context
StackExchange DevOps Q#14909, answer score: 4
Revisions (0)
No revisions yet.