Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Jenkins fails to load plugins

Tags:

docker

jenkins

I ran docker run jenkins and Jenkins starts correctly but almost all plugins failed to install.

In the log I got errors like this one:

SEVERE: Failed to install Folders
java.io.IOException: Failed to dynamically deploy this plugin
Caused by: java.io.IOException: Failed to install cloudbees-folder plugin
Caused by: java.io.IOException: Folders Plugin v6.11.1 failed to load.
 - You must update Jenkins from v2.60.3 to v2.138.4 or later to run this plugin.
like image 584
sashoalm Avatar asked Dec 13 '22 09:12

sashoalm


1 Answers

My bad, I was using the wrong image - it should be docker pull jenkins/jenkins instead of docker pull jenkins. I found the answer in https://github.com/jenkinsci/docker/issues/787 and https://jenkins.io/blog/2018/12/10/the-official-Docker-image/#official-jenkins-image-to-use-from-docker-hub.

like image 175
sashoalm Avatar answered Dec 29 '22 19:12

sashoalm