Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most plugins are incompatible with docker jenkins:lts #787

Closed
mattesja opened this issue Jan 13, 2019 · 7 comments
Closed

Most plugins are incompatible with docker jenkins:lts #787

mattesja opened this issue Jan 13, 2019 · 7 comments

Comments

@mattesja
Copy link

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.

@batmat
Copy link
Member

batmat commented Jan 13, 2019

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 batmat closed this as completed Jan 13, 2019
@mattesja
Copy link
Author

mattesja commented Jan 13, 2019

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

@Manjunath91
Copy link

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

@systemsincode
Copy link

systemsincode commented May 24, 2019

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.

@vbisbest
Copy link

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

Any ideas on that?

@lzchahaha
Copy link

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?

@batmat
Copy link
Member

batmat commented Apr 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants