5

From my POV the classic Jenkins build status icons were, and still are, a masterpiece of icon art:

enter image description here

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 enter image description here looks more like a shuriken that killed my build, rather than a sun and this cloud enter image description here 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.

Gerold Broser
  • 171
  • 10

1 Answers1

4

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: ${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.

Ian W
  • 449
  • 1
  • 3
  • 7
  • Thanks for the answer. I'm going to give the weather-jenkins.svg try. I know about cross-posting but this is just beta here and at looking at the overall questions list it seemed to me half-live only. Or half-dead the other way round. – Gerold Broser Nov 01 '21 at 01:25
  • Download this zip file in order to first take a look at the graphics. – not2savvy Jan 31 '22 at 11:39