Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install suggested plugins of jenkins on docker

I had launched jenkins through docker, it has been launched in administrator mode. After entering password when i selected to install suggested plugin it fails with most of the installation. Post that when i created jenkins user and navigated to jenkins home page it displays errors as shown in below screenshot.

enter image description here

Installed docker and jenkins through below commands

sudo yum install docker-ce

systemctl start docker

docker pull Jenkins

docker run -p 8080:8080 jenkins

Also when i go to manage jenkins and trying to install some other plugins like Git, it fails. I am not sure what is wrong with it? Why installation is failing.

Below is the log being printed by jenkins while installation.

enter image description here

Also below is the screenshot of warning mesage i am getting while installing through plugin manager

enter image description here

like image 466
Asad Ali Avatar asked Dec 07 '22 11:12

Asad Ali


1 Answers

I had the same issue when using the latest weekly, so I suggest to use the lts since when specify jenkins in your command you are pulling latest weekly

run your command like this:

docker pull jenkins/jenkins:lts
docker run -p 8080:8080 jenkins/jenkins:lts

see jenkins

like image 54
LinPy Avatar answered Dec 26 '22 11:12

LinPy