Nitin Kumar
Nitin Kumar

Reputation: 199

Images Icons are not loading in Jenkins pipeline

I installed Jenking on Docker having following version details. Docker version- 20.10.12 Ubuntu 22.04 Jenking version-2.346.3 Java version- build 11.0.16+8-post-Ubuntu-0ubuntu122.04

I created a pipeline and it is not loading images icons.I have attached the screenshot. Could you please let me know what is causing this issue and how can I resolve it? Thank You.enter image description here

Upvotes: 3

Views: 1513

Answers (1)

Ghxstcxt
Ghxstcxt

Reputation: 21

From what I know, the latest version of Jenkins is missing a lot of the images from within the .war file (not a clue why), that this plugin (and others) reference.

To fix it (its a bit dirty) I extracted the "images" directory from a previous version of Jenkins (iirc was 2.303.1) by changing the .war to .zip.

I then merged this old version directory in to the /opt/jenkins/war/images directory once the Jenkins service had started and the files/folders populated. Then restarted the service.

For your case though, as its a docker container, it might be worth adding these to the .war file directly.

Hope that helps.

Upvotes: 2

Related Questions