gmacario / easy-jenkins

Easily deploy a Jenkins CI/CD infrastructure via docker-compose
MIT License
35 stars 9 forks source link

myjenkins: Update installed plugins #242

Closed gmacario closed 6 years ago

gmacario commented 6 years ago

Signed-off-by: Gianpaolo Macario gianpaolo_macario@mentor.com

gmacario commented 6 years ago

Testing the branch locally...

Got Installation Failures

capture-20171222-1651

gmacario commented 6 years ago

Click "Continue", configure admin user, then restarted Jenkins when requested

gmacario commented 6 years ago

Rebuilt Docker image and created new containers

docker-compose build --pull --no-cache
docker-compose down
docker system prune
./runme.sh

Browse Jenkins Dashboard and enter the initial administrator password, then click "Install suggested plugins". The following plugins are still failing to install properly:

Excerpt from docker-compose logs -f

myjenkins_1  | SEVERE: Failed to install Git plugin
myjenkins_1  | java.io.IOException: Failed to dynamically deploy this plugin
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
myjenkins_1  |  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
myjenkins_1  |  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
myjenkins_1  |  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
myjenkins_1  |  at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
myjenkins_1  |  at java.lang.Thread.run(Thread.java:748)
myjenkins_1  | Caused by: java.io.IOException: Failed to install git plugin
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:872)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:811)
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
myjenkins_1  |  ... 5 more
myjenkins_1  | Caused by: java.io.IOException: Jenkins Git plugin v3.7.0 failed to load.
myjenkins_1  |  - Jenkins Git client plugin v2.6.0 is older than required. To fix, install v2.7.0 or later.
myjenkins_1  |  at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:862)
myjenkins_1  |  ... 7 more
...
myjenkins_1  | SEVERE: Failed to install GitHub plugin
myjenkins_1  | java.io.IOException: Failed to dynamically deploy this plugin
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
myjenkins_1  |  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
myjenkins_1  |  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
myjenkins_1  |  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
myjenkins_1  |  at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
myjenkins_1  |  at java.lang.Thread.run(Thread.java:748)
myjenkins_1  | Caused by: java.io.IOException: Failed to install github plugin
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:872)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:811)
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
myjenkins_1  |  ... 5 more
myjenkins_1  | Caused by: java.io.IOException: GitHub plugin v1.28.1 failed to load.
myjenkins_1  |  - Jenkins Git plugin v3.7.0 failed to load. Fix this plugin first.
myjenkins_1  |  at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:862)
myjenkins_1  |  ... 7 more
...
myjenkins_1  | SEVERE: Failed to install GitHub Branch Source Plugin
myjenkins_1  | java.io.IOException: Failed to dynamically deploy this plugin
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
myjenkins_1  |  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
myjenkins_1  |  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
myjenkins_1  |  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
myjenkins_1  |  at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
myjenkins_1  |  at java.lang.Thread.run(Thread.java:748)
myjenkins_1  | Caused by: java.io.IOException: Failed to install github-branch-source plugin
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:872)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:811)
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
myjenkins_1  |  ... 5 more
myjenkins_1  | Caused by: java.io.IOException: GitHub Branch Source Plugin v2.3.2 failed to load.
myjenkins_1  |  - GitHub plugin v1.28.1 failed to load. Fix this plugin first.
myjenkins_1  |  at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:862)
myjenkins_1  |  ... 7 more
...
myjenkins_1  | SEVERE: Failed to install Pipeline: GitHub Groovy Libraries
myjenkins_1  | java.io.IOException: Failed to dynamically deploy this plugin
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
myjenkins_1  |  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
myjenkins_1  |  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
myjenkins_1  |  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
myjenkins_1  |  at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
myjenkins_1  |  at java.lang.Thread.run(Thread.java:748)
myjenkins_1  | Caused by: java.io.IOException: Failed to install pipeline-github-lib plugin
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:872)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:811)
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
myjenkins_1  |  ... 5 more
myjenkins_1  | Caused by: java.io.IOException: Pipeline: GitHub Groovy Libraries v1.0 failed to load.
myjenkins_1  |  - Jenkins Git plugin v3.7.0 failed to load. Fix this plugin first.
myjenkins_1  |  at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:862)
myjenkins_1  |  ... 7 more
...
myjenkins_1  | SEVERE: Failed to install Git plugin
myjenkins_1  | java.io.IOException: Failed to dynamically deploy this plugin
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
myjenkins_1  |  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
myjenkins_1  |  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
myjenkins_1  |  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
myjenkins_1  |  at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
myjenkins_1  |  at java.lang.Thread.run(Thread.java:748)
myjenkins_1  | Caused by: java.io.IOException: Failed to install git plugin
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:872)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:811)
myjenkins_1  |  at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
myjenkins_1  |  ... 5 more
myjenkins_1  | Caused by: java.io.IOException: Jenkins Git plugin v3.7.0 failed to load.
myjenkins_1  |  - Jenkins Git client plugin v2.6.0 is older than required. To fix, install v2.7.0 or later.
myjenkins_1  |  at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
myjenkins_1  |  at hudson.PluginManager.dynamicLoad(PluginManager.java:862)
myjenkins_1  |  ... 7 more
...
gmacario commented 6 years ago

LGTM, merging