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

Cannot install any pipeline plugins on first-time setup #785

Closed
t-patt opened this issue Jan 11, 2019 · 15 comments
Closed

Cannot install any pipeline plugins on first-time setup #785

t-patt opened this issue Jan 11, 2019 · 15 comments

Comments

@t-patt
Copy link

t-patt commented Jan 11, 2019

Using jenkins:latest, I’m getting errors similar to this installing almost every pipeline plugin:

Jan 11, 2019 3:35:53 PM hudson.model.UpdateCenter$DownloadJob run
SEVERE: Failed to install Pipeline: Declarative Agent API
java.io.IOException: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Failed to install pipeline-model-declarative-agent plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:874)
at hudson.PluginManager.dynamicLoad(PluginManager.java:813)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
... 5 more
Caused by: java.io.IOException: Pipeline: Declarative Agent API v1.1.1 failed to load.
- Pipeline: Declarative Extension Points API v1.3.2 failed to load. Fix this plugin first.
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
at hudson.PluginManager.dynamicLoad(PluginManager.java:864)
... 7 more

@batmat
Copy link
Member

batmat commented Jan 11, 2019

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

Thanks

@batmat batmat closed this as completed Jan 11, 2019
@t-patt
Copy link
Author

t-patt commented Jan 11, 2019

Oh, thanks @batmat

@bharathkumar33
Copy link

Hello , I am trying to download the latest Jenkins docker image but when I want to install the selected plugins all the plugins install fails . Any idea why?

@batmat
Copy link
Member

batmat commented May 31, 2019 via email

@oleg-nenashev
Copy link
Member

oleg-nenashev commented May 31, 2019 via email

@ultimate809
Copy link

Thanks for the help " jenkins/jenkins " works.

@noamanhesham
Copy link

jenkins/jenkins fixed the issue

@shaji-bct
Copy link

shaji-bct commented Apr 17, 2020

I just pulled the docker image from hub.docker.com and it fails installing any of the plugins. jenkins/jenkins fixed the issue for me, but might need change in documentation on docker hub as well.

@MAHESH-HASBI
Copy link

This worked for me jenkins/jenkins

@dharam01
Copy link

dharam01 commented Jun 6, 2020

I also faced same issue with the image from docker hub.
jenkins/jenkins worked for me.

@karthickcv
Copy link

Hello , I am trying to download the latest Jenkins docker image but when I want to install the selected plugins all the plugins install fails . Any idea why?

Try jenkins/jenkins image .. not jenkins..

@sadityalal
Copy link

finally got the answer jenkins/jenkins is the right image

@rutvik2611
Copy link

i am still facing the same issue ,you all are saying jenkis fixed it but its not working for me here is the command that i ran
"docker run --name jenkins-production -d -p 50000:50000 -p 8080:8080 -v jenkins-data:/var/jenkins_home jenkins/jenkins"

i also tried with --previlaged ,-u root ,-u rut(my username)
installations still fails..tried with powersehll on windows and wsl2 ubnuntu

@slide
Copy link
Member

slide commented Apr 19, 2021

Please open a new issue, this issue was because people were using the wrong image.

@HardikaDoshi
Copy link

i am still facing the same issue ,you all are saying jenkis fixed it but its not working for me here is the command that i ran
"docker run --name jenkins-production -d -p 50000:50000 -p 8080:8080 -v jenkins-data:/var/jenkins_home jenkins/jenkins"

i also tried with --previlaged ,-u root ,-u rut(my username)
installations still fails..tried with powersehll on windows and wsl2 ubnuntu

i am facing the same issue. did you find a solution for this?

@jenkinsci jenkinsci locked and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests