Comments (10)
Hi!
I suspect it is an issue with latest Jenkins and ruby-runtime incompatibility.
Can you take a look at the details in issues #12 and #10 and the suggested workarounds and see if that helps?
Reverting to a previous Jenkins version (see those issues for exact steps) seems to be resolving the problem.
If nothing else, send me the version of Jenkins you are using, maybe I can replicate the problem.
from jenkins-gitlab-hook-plugin.
It fails with jenkins 1.518 to 1.520
Environment:
Linux Ubuntu
Jenkins instaled from apt repository
ruby-runtime plugins v0.11 (last) and (v0.10 fails with the last jenkins version)
We solve just changing the ruby-runtime version in pluguin descriptor.. maybe that could help you.
best regards
from jenkins-gitlab-hook-plugin.
OK, I see ruby runtime v0.11 was released.
Upgrade the dependency version to match it, and built a new version 0.2.7.
It should be visible in plugin management, but if not you can find it here.
Let me know if this helps!
from jenkins-gitlab-hook-plugin.
Still doens't work... now with this exception
jul 03, 2013 9:51:07 PM hudson.PluginManager dynamicLoad
INFO: Attempting to dynamic load /opt/jenkins/plugins/gitlab-hook.jpi
jul 03, 2013 9:51:48 PM hudson.model.UpdateCenter$DownloadJob run
SEVERE: Failed to install Gitlab Hook Plugin
hudson.util.IOException2: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1314)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1111)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: hudson.util.IOException2: Failed to install gitlab-hook plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:417)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1310)
... 7 more
Caused by: hudson.util.IOException2: Failed to initialize
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:379)
at hudson.PluginManager.dynamicLoad(PluginManager.java:408)
... 8 more
Caused by: java.lang.Exception: unable to locate gem bundle for gitlab-hook at /opt/jenkins/plugins/gitlab-hook/WEB-INF/classes/vendor/gems
at ruby.RubyPlugin.initRubyLoadPaths(RubyPlugin.java:202)
at ruby.RubyPlugin.start(RubyPlugin.java:158)
at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:387)
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:376)
... 9 more
I use Jenkins 1.521
ruby-runtime 0.11
gitlab-hook-plugin 0.2.7
:(
I hope , this log could help to resolve this issue.
Best regards
from jenkins-gitlab-hook-plugin.
https://issues.jenkins-ci.org/browse/JENKINS-18528
As far as I can see, the issue with ruby-runtime and Jenkins has not yet been resolved.
Hopefully they'll fix it and release the v0.12 of ruby-runtime to address this issue.
I'll keep this issue open until such time.
from jenkins-gitlab-hook-plugin.
Finally works!
ruby-runtime 0.12
gitlab-hook 0.27
May you can change dependency to use the new one ruby-runtime (works fine without exceptions)
I'll waiting your new update 👯
best regards
from jenkins-gitlab-hook-plugin.
http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/ruby-plugins/gitlab-hook/0.2.8
Using the latest ruby-runtime
Let me know if it works
Thanks!
from jenkins-gitlab-hook-plugin.
Works great! with the last jenkins version (1.522) and last ruby-runtime version (0.12)
great work!
best regards
from jenkins-gitlab-hook-plugin.
Hi, i am using Jenkins 2.58 version and i am having error. Please help thanks!
Failed Loading plugin ruby-runtime v0.12 (ruby-runtime)
org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- haml
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.require(jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at RUBY.(root)(file:/C:/Program Files (x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/stapler-jruby-1.209.jar!/org/kohsuke/stapler/jelly/jruby/haml/JRubyJellyHamlScript.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.(root)(jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
at RUBY.require(jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
Caused: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- haml
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1264)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1257)
at org.kohsuke.stapler.jelly.jruby.haml.HamlLanguage.createContainer(HamlLanguage.java:28)
at org.kohsuke.stapler.jelly.jruby.JRubyFacet.<init>(JRubyFacet.java:71)
at ruby.RubyRuntimePlugin.registerJRubyFacet(RubyRuntimePlugin.java:39)
at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:30)
at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:532)
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:521)
Caused: java.io.IOException: Failed to initialize
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:524)
at hudson.PluginManager$2$1$1.run(PluginManager.java:517)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:1088)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
from jenkins-gitlab-hook-plugin.
But I can't get ruby-runtime v0.12 to install.
SEVERE: Failed Loading plugin ruby-runtime v0.12 (ruby-runtime)
java.io.IOException: Failed to initialize
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:528)
at hudson.PluginManager$2$1$1.run(PluginManager.java:517)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:1073)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- haml
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1264)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1257)
at org.kohsuke.stapler.jelly.jruby.haml.HamlLanguage.createContainer(HamlLanguage.java:28)
at org.kohsuke.stapler.jelly.jruby.JRubyFacet.(JRubyFacet.java:71)
at ruby.RubyRuntimePlugin.registerJRubyFacet(RubyRuntimePlugin.java:39)
at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:30)
at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:536)
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:525)
... 9 more
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- haml
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.require(jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at RUBY.(root)(file:/C:/Program Files (x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/stapler-jruby-1.209.jar!/org/kohsuke/stapler/jelly/jruby/haml/JRubyJellyHamlScript.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.(root)(jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
at RUBY.require(jar:file:/C:/Program%20Files%20(x86)/Jenkins/plugins/ruby-runtime/WEB-INF/lib/jruby-complete-1.7.3.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
Sep 13, 2017 9:06:25 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading plugin Gitlab Hook Plugin v1.4.2 (gitlab-hook)
java.io.IOException: Gitlab Hook Plugin v1.4.2 failed to load.
- ruby-runtime v0.12 is missing. To fix, install v0.12 or later.
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
at hudson.PluginManager$2$1$1.run(PluginManager.java:516)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:1073)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
from jenkins-gitlab-hook-plugin.
Related Issues (20)
- build_now works on separate servers?
- "no project references the given repo url and commit branch" muti-branch freestyle HOT 2
- naming autogenerated project does not postfix with branchname on first creation HOT 2
- build_now hook not working on Jenkins 1.620 and Gitlab 7.8.2 HOT 3
- How could I skip building based on commit message? (Enhancement Request?) HOT 1
- Does not install on Jenkins 1.635 HOT 2
- Don't trigger a build on commit notifications in multiple scms is wrong HOT 1
- Support for git sparsepath HOT 1
- Support for multiple projects HOT 2
- Pipeline projects
- Jenkins does not run build on the "Tag Push Events" trigger from Web Hook HOT 1
- plugin does not work with (multibranch) pipeline projects?
- jenkins2 : GitLab CI Service URL in old format when using the plugin
- how to reference nested payload value
- 应该如何正确填写回调URL,我按照文档书写的地址一致验证不过 HOT 4
- Installed but not show in jenkins
- How to read json payload from gitlab webhook in Jenkins
- unsupported Java version: 11
- unsupported Java version: 11 HOT 9
- Configure Clouds in jenkins With docker give error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jenkins-gitlab-hook-plugin.