Skip to content

Instantly share code, notes, and snippets.

@martinda
Created November 18, 2019 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinda/1013ced8b796957d0f9fe66cb4aae79b to your computer and use it in GitHub Desktop.
Save martinda/1013ced8b796957d0f9fe66cb4aae79b to your computer and use it in GitHub Desktop.
Jenkins plugin installation manager Git 4.0.0 fails with matrix 1.4 says it needs 1.14+
File containing list of plugins to be downloaded: plugins.yml
Reading in plugins from plugins.yml
Plugin download location: /data/jenkins/core/plugins
No CLI option or environment variable set for update center, using default of https://updates.jenkins.io
No CLI option or environment variable set for experimental update center, using default of https://updates.jenkins.io/experimental
No CLI option or environment variable set for incrementals mirror, using default of https://repo.jenkins-ci.org/incrementals
Will use war file: jenkins.war
Downloading plugin pipeline-milestone-step from url: https://updates.jenkins.io/download/plugins/pipeline-milestone-step/1.3.1/pipeline-milestone-step.hpi
Downloading plugin icon-shim from url: https://updates.jenkins.io/download/plugins/icon-shim/1.0.3/icon-shim.hpi
Downloading plugin pipeline-graph-analysis from url: https://updates.jenkins.io/download/plugins/pipeline-graph-analysis/1.1/pipeline-graph-analysis.hpi
Downloading plugin structs from url: https://updates.jenkins.io/download/plugins/structs/1.20/structs.hpi
Downloading plugin workflow-basic-steps from url: https://updates.jenkins.io/download/plugins/workflow-basic-steps/2.11/workflow-basic-steps.hpi
Downloading plugin junit from url: https://updates.jenkins.io/download/plugins/junit/1.3/junit.hpi
Downloading plugin lockable-resources from url: https://updates.jenkins.io/download/plugins/lockable-resources/2.3/lockable-resources.hpi
Downloading plugin jsch from url: https://updates.jenkins.io/download/plugins/jsch/0.1.55.1/jsch.hpi
Downloading plugin credentials from url: https://updates.jenkins.io/download/plugins/credentials/2.3.0/credentials.hpi
Downloading plugin pipeline-stage-view from url: https://updates.jenkins.io/download/plugins/pipeline-stage-view/2.10/pipeline-stage-view.hpi
Downloading plugin build-user-vars-plugin from url: https://updates.jenkins.io/download/plugins/build-user-vars-plugin/1.5/build-user-vars-plugin.hpi
Downloading plugin pipeline-model-definition from url: https://updates.jenkins.io/download/plugins/pipeline-model-definition/1.3.2/pipeline-model-definition.hpi
Downloading plugin script-security from url: https://updates.jenkins.io/download/plugins/script-security/1.46/script-security.hpi
Downloading plugin pipeline-model-declarative-agent from url: https://updates.jenkins.io/download/plugins/pipeline-model-declarative-agent/1.1.1/pipeline-model-declarative-agent.hpi
Downloading plugin workflow-job from url: https://updates.jenkins.io/download/plugins/workflow-job/2.25/workflow-job.hpi
Downloading plugin pipeline-model-extensions from url: https://updates.jenkins.io/download/plugins/pipeline-model-extensions/1.3.2/pipeline-model-extensions.hpi
Downloading plugin ace-editor from url: https://updates.jenkins.io/download/plugins/ace-editor/1.0.1/ace-editor.hpi
Downloading plugin workflow-durable-task-step from url: https://updates.jenkins.io/download/plugins/workflow-durable-task-step/2.22/workflow-durable-task-step.hpi
Downloading plugin handlebars from url: https://updates.jenkins.io/download/plugins/handlebars/1.1/handlebars.hpi
Downloading plugin git-client from url: https://updates.jenkins.io/download/plugins/git-client/3.0.0/git-client.hpi
Downloading plugin workflow-multibranch from url: https://updates.jenkins.io/download/plugins/workflow-multibranch/2.20/workflow-multibranch.hpi
Downloading plugin workflow-step-api from url: https://updates.jenkins.io/download/plugins/workflow-step-api/2.20/workflow-step-api.hpi
Downloading plugin credentials-binding from url: https://updates.jenkins.io/download/plugins/credentials-binding/1.13/credentials-binding.hpi
Downloading plugin workflow-aggregator from url: https://updates.jenkins.io/download/plugins/workflow-aggregator/2.6/workflow-aggregator.hpi
Downloading plugin jackson2-api from url: https://updates.jenkins.io/download/plugins/jackson2-api/2.8.11.3/jackson2-api.hpi
Downloading plugin pipeline-rest-api from url: https://updates.jenkins.io/download/plugins/pipeline-rest-api/2.10/pipeline-rest-api.hpi
Downloading plugin git from url: https://updates.jenkins.io/download/plugins/git/4.0.0/git.hpi
Downloading plugin trilead-api from url: https://updates.jenkins.io/download/plugins/trilead-api/1.0.5/trilead-api.hpi
Downloading plugin momentjs from url: https://updates.jenkins.io/download/plugins/momentjs/1.1/momentjs.hpi
Downloading plugin durable-task from url: https://updates.jenkins.io/download/plugins/durable-task/1.26/durable-task.hpi
Downloading plugin pipeline-input-step from url: https://updates.jenkins.io/download/plugins/pipeline-input-step/2.8/pipeline-input-step.hpi
Downloading plugin pipeline-build-step from url: https://updates.jenkins.io/download/plugins/pipeline-build-step/2.7/pipeline-build-step.hpi
Downloading plugin docker-commons from url: https://updates.jenkins.io/download/plugins/docker-commons/1.5/docker-commons.hpi
Downloading plugin configuration-as-code from url: https://updates.jenkins.io/download/plugins/configuration-as-code/1.32/configuration-as-code.hpi
Downloading plugin workflow-cps-global-lib from url: https://updates.jenkins.io/download/plugins/workflow-cps-global-lib/2.11/workflow-cps-global-lib.hpi
Downloading plugin authentication-tokens from url: https://updates.jenkins.io/download/plugins/authentication-tokens/1.1/authentication-tokens.hpi
Downloading plugin pipeline-stage-tags-metadata from url: https://updates.jenkins.io/download/plugins/pipeline-stage-tags-metadata/1.3.2/pipeline-stage-tags-metadata.hpi
Downloading plugin workflow-support from url: https://updates.jenkins.io/download/plugins/workflow-support/2.20/workflow-support.hpi
Downloading plugin git-server from url: https://updates.jenkins.io/download/plugins/git-server/1.7/git-server.hpi
Downloading plugin plain-credentials from url: https://updates.jenkins.io/download/plugins/plain-credentials/1.3/plain-credentials.hpi
Downloading plugin pipeline-model-api from url: https://updates.jenkins.io/download/plugins/pipeline-model-api/1.3.2/pipeline-model-api.hpi
Downloading plugin workflow-scm-step from url: https://updates.jenkins.io/download/plugins/workflow-scm-step/2.9/workflow-scm-step.hpi
Downloading plugin docker-workflow from url: https://updates.jenkins.io/download/plugins/docker-workflow/1.14/docker-workflow.hpi
Downloading plugin apache-httpcomponents-client-4-api from url: https://updates.jenkins.io/download/plugins/apache-httpcomponents-client-4-api/4.5.10-1.0/apache-httpcomponents-client-4-api.hpi
Downloading plugin matrix-project from url: https://updates.jenkins.io/download/plugins/matrix-project/1.4/matrix-project.hpi
Downloading plugin mailer from url: https://updates.jenkins.io/download/plugins/mailer/1.23/mailer.hpi
Downloading plugin cloudbees-folder from url: https://updates.jenkins.io/download/plugins/cloudbees-folder/6.6/cloudbees-folder.hpi
Downloading plugin pipeline-stage-step from url: https://updates.jenkins.io/download/plugins/pipeline-stage-step/2.3/pipeline-stage-step.hpi
Downloading plugin ssh-credentials from url: https://updates.jenkins.io/download/plugins/ssh-credentials/1.18/ssh-credentials.hpi
Downloading plugin scm-api from url: https://updates.jenkins.io/download/plugins/scm-api/2.6.3/scm-api.hpi
Downloading plugin branch-api from url: https://updates.jenkins.io/download/plugins/branch-api/2.0.18/branch-api.hpi
Downloading plugin workflow-api from url: https://updates.jenkins.io/download/plugins/workflow-api/2.29/workflow-api.hpi
Downloading plugin display-url-api from url: https://updates.jenkins.io/download/plugins/display-url-api/1.0/display-url-api.hpi
Downloading plugin workflow-cps from url: https://updates.jenkins.io/download/plugins/workflow-cps/2.56/workflow-cps.hpi
Downloading plugin jquery-detached from url: https://updates.jenkins.io/download/plugins/jquery-detached/1.2.1/jquery-detached.hpi
Downloading plugin ssh-slaves from url: https://updates.jenkins.io/download/plugins/ssh-slaves/1.31.0/ssh-slaves.hpi
pipeline-stage-tags-metadata downloaded successfully
pipeline-milestone-step downloaded successfully
workflow-scm-step downloaded successfully
authentication-tokens downloaded successfully
pipeline-model-declarative-agent downloaded successfully
plain-credentials downloaded successfully
pipeline-model-extensions downloaded successfully
pipeline-graph-analysis downloaded successfully
git-server downloaded successfully
workflow-aggregator downloaded successfully
credentials-binding downloaded successfully
display-url-api downloaded successfully
pipeline-input-step downloaded successfully
pipeline-stage-step downloaded successfully
icon-shim downloaded successfully
workflow-durable-task-step downloaded successfully
structs downloaded successfully
durable-task downloaded successfully
lockable-resources downloaded successfully
pipeline-build-step downloaded successfully
workflow-step-api downloaded successfully
workflow-job downloaded successfully
docker-commons downloaded successfully
workflow-api downloaded successfully
momentjs downloaded successfully
mailer downloaded successfully
pipeline-rest-api downloaded successfully
workflow-multibranch downloaded successfully
ssh-slaves downloaded successfully
build-user-vars-plugin downloaded successfully
scm-api downloaded successfully
ssh-credentials downloaded successfully
matrix-project downloaded successfully
branch-api downloaded successfully
docker-workflow downloaded successfully
workflow-basic-steps downloaded successfully
script-security downloaded successfully
workflow-support downloaded successfully
cloudbees-folder downloaded successfully
pipeline-stage-view downloaded successfully
jsch downloaded successfully
git downloaded successfully
junit downloaded successfully
jquery-detached downloaded successfully
trilead-api downloaded successfully
credentials downloaded successfully
workflow-cps downloaded successfully
jackson2-api downloaded successfully
pipeline-model-definition downloaded successfully
workflow-cps-global-lib downloaded successfully
handlebars downloaded successfully
configuration-as-code downloaded successfully
apache-httpcomponents-client-4-api downloaded successfully
ace-editor downloaded successfully
pipeline-model-api downloaded successfully
git-client downloaded successfully
Done
Running from: /opt/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
2019-11-18 15:14:44.522+0000 [id=1] INFO org.eclipse.jetty.util.log.Log#initialized: Logging initialized @329ms to org.eclipse.jetty.util.log.JavaUtilLog
2019-11-18 15:14:44.617+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
2019-11-18 15:14:46.522+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2019-11-18 15:14:46.576+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-9.4.z-SNAPSHOT; built: 2019-05-02T00:04:53.875Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_222-b10
2019-11-18 15:14:46.809+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2019-11-18 15:14:46.853+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0
2019-11-18 15:14:46.853+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults
2019-11-18 15:14:46.856+0000 [id=1] INFO o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 600000ms
Jenkins home directory: /data/jenkins/core found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2019-11-18 15:14:47.305+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@782a4fff{Jenkins v2.190.1,/,file:///data/jenkins/core/war/,AVAILABLE}{/data/jenkins/core/war}
2019-11-18 15:14:47.319+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@1972e513{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2019-11-18 15:14:47.319+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started @3126ms
2019-11-18 15:14:47.320+0000 [id=22] INFO winstone.Logger#logInternal: Winstone Servlet Engine v4.0 running: controlPort=disabled
2019-11-18 15:14:48.533+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2019-11-18 15:14:48.726+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /data/jenkins/core/plugins/command-launcher.jpi
2019-11-18 15:14:48.741+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /data/jenkins/core/plugins/jdk-tool.jpi
2019-11-18 15:14:48.776+0000 [id=32] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /data/jenkins/core/plugins/bouncycastle-api.jpi
2019-11-18 15:14:49.088+0000 [id=39] WARNING hudson.ClassicPluginStrategy#createClassJarFromWebInfClasses: Created /data/jenkins/core/plugins/authentication-tokens/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
2019-11-18 15:14:49.094+0000 [id=39] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /data/jenkins/core/plugins/matrix-auth.jpi
2019-11-18 15:14:49.108+0000 [id=39] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /data/jenkins/core/plugins/windows-slaves.jpi
2019-11-18 15:14:49.137+0000 [id=39] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /data/jenkins/core/plugins/antisamy-markup-formatter.jpi
2019-11-18 15:14:49.548+0000 [id=28] WARNING hudson.ClassicPluginStrategy#createClassJarFromWebInfClasses: Created /data/jenkins/core/plugins/icon-shim/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
2019-11-18 15:14:50.095+0000 [id=42] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2019-11-18 15:14:50.200+0000 [id=35] INFO j.b.a.SecurityProviderInitializer#addSecurityProvider: Initializing Bouncy Castle security provider.
2019-11-18 15:14:50.367+0000 [id=35] INFO j.b.a.SecurityProviderInitializer#addSecurityProvider: Bouncy Castle security provider initialized.
2019-11-18 15:14:50.418+0000 [id=33] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Jenkins Git plugin v4.0.0 (git)
java.io.IOException: Jenkins Git plugin version 4.0.0 failed to load.
- Matrix Project Plugin version 1.4 is older than required. To fix, install version 1.14 or later.
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:922)
at hudson.PluginManager$2$1$1.run(PluginManager.java:545)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1118)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment