docker icon indicating copy to clipboard operation
docker copied to clipboard

Most plugins are incompatible with docker jenkins:lts

Open mattesja opened this issue 7 years ago • 7 comments

Docker commands that you execute

I installed and started jenkins with long term support according to the docs:

docker pull jenkins/jenkins:lts
docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -v $PWD:/var/jenkins_home jenkins

Actual result

Jenkins started in Version 2.60.3 But most plugins could not be used because I should upgrade to v2.73.3

The manage interface shows this message:

Pipeline: Shared Groovy Libraries v2.12 You must update Jenkins from v2.60.3 to v2.73.3 or later to run this plugin.

Expected result

So I expected to get a jenkins version which is compatible to the needed plugings.

mattesja avatar Jan 13 '19 11:01 mattesja

Hello, you are using a deprecated image.

Please read https://jenkins.io/blog/2018/12/10/the-official-Docker-image/

Also, searching existing similar issues is generally a good idea, this duplicates #785

Thanks

batmat avatar Jan 13 '19 11:01 batmat

Your're right. I just seen that I started jenkins instead of jenkins/jenkins.

mattesja avatar Jan 13 '19 11:01 mattesja

yes, i am using deprecated image of jenkin. now what the way to update it to 2.73.3 ?

Manjunath91 avatar May 06 '19 18:05 Manjunath91

Kinematic is still showing the jenkins deprecated images as a primary recommended 'official' image..you have to load the dockerhub page to notice its deprecated.

systemsincode avatar May 24 '19 12:05 systemsincode

I am having the same issue using jenkins/jenkins. Still says its 2.60.3.
docker pull jenkins/jenkins:lts

Any ideas on that?

vbisbest avatar Sep 28 '19 13:09 vbisbest

Docker commands that you execute

I installed and started jenkins with long term support according to the docs:

docker pull jenkins/jenkins:lts
docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -v $PWD:/var/jenkins_home jenkins

Actual result

Jenkins started in Version 2.60.3 But most plugins could not be used because I should upgrade to v2.73.3

The manage interface shows this message:

Pipeline: Shared Groovy Libraries v2.12 You must update Jenkins from v2.60.3 to v2.73.3 or later to run this plugin.

Expected result

So I expected to get a jenkins version which is compatible to the needed plugings.

me to, I also expected the jenkins version which is compatible to the needed plugings; and boy ,do you have the resolve mehtods?

lzchahaha avatar Apr 23 '22 02:04 lzchahaha

Where did you take this excerpt from @lzchahaha?

It is wrong, the second line is running a different image from the one pulled on the first one. It should be:

docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -v $PWD:/var/jenkins_home jenkins/jenkins:lts

Or, potentially even better to be sure you're using the same (example for Linux shell):

JENKINS_IMAGE=jenkins/jenkins:lts
docker pull $JENKINS_IMAGE
docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -v $PWD:/var/jenkins_home $JENKINS_IMAGE

batmat avatar Apr 27 '22 12:04 batmat