i am using Jenkins 2.346 i am getting below error when running a job
at com.google.jenkins.plugins.metadata.scm.JenkinsUtils.getExtensionList(JenkinsUtils.java:51)
at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor$FromBuildActions.all(SourceMetadataExtractor.java:153)
at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor$FromBuildActions.extract(SourceMetadataExtractor.java:138)
at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor.extract(SourceMetadataExtractor.java:101)
at com.google.jenkins.plugins.metadata.scm.SourceMetadataBuildListener.onChangeLogParsed(SourceMetadataBuildListener.java:50)
at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:121)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:663)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519)
at hudson.model.Run.execute(Run.java:1897)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
Finished: FAILURE
please note i am not using “Guava” lib /plugin anywhere
Don’t how to resolve , stuck here for many days , if anybody knows plss guide .
You’re running an over 2 year old Jenkins version and looking at the stacktrace you use Google Authenticated Source plugin in version 0.1 which is almost 10 years old.
Try to update your Jenkins and all plugins, check if the problem then still persists.
you have this plugin installed otherwise the stacktrace would not be possible.
The plugin might not be configured directly in a job. But the old version implements a Buildlistener so the code is called whenever you run a build.
Maybe you also don’t need this plugin at all anymore but that is something only you can answer.
Apologies rechecked have installed but this plugin required ruby runtime 0.12 that causing issue
even when i am trying n to install expected ruby runtime jenkins is not accepting .hpi file
ruby runtime is since long deprecated and no longer supported. I see no need that you should install it if you want to install a plugin that requires ruby runtime it will not work
As noted by @mawinter69 , the ruby runtime was deprecated in January 2022 as announced in the blog post:
The blog post includes the list of plugins affected by the end of life of the Ruby runtime in Jenkins. Remove all of them. Remove the Ruby runtime plugin if it is installed.