Git Product home page Git Product logo

Comments (5)

radiy avatar radiy commented on September 23, 2024 3

default jenkins installation path in "Program Files (x86)" don`t play well with jruby gem loader
maybe space symbol brake things or "("
to fix issue move jenkins in well known good location "C:\jenkins"

from jenkins-gitlab-hook-plugin.

elvanja avatar elvanja commented on September 23, 2024

Hmmm, the plugin doesn't use any html/erb/haml rendering.
Also, the plugin has been running in Windows and Linux Jenkins instances without issues.
Windows instance is actually on Windows 2008 R2 (virtual machine).
Seems to me this might be related to something else, although it is likely Ruby related.
Maybe some logs could be helpful if you can share them.

from jenkins-gitlab-hook-plugin.

ti24horas avatar ti24horas commented on September 23, 2024

The trace when I try to install ruby_runtime:

hudson.util.IOException2: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1306)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1103)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: hudson.util.IOException2: Failed to install ruby-runtime plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:417)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1302)
    ... 7 more
Caused by: hudson.util.IOException2: Failed to initialize
    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:371)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:408)
    ... 8 more
Caused by: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- haml
    at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
    at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
    at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
    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:379)
    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:368)
    ... 9 more
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- haml

from jenkins-gitlab-hook-plugin.

elvanja avatar elvanja commented on September 23, 2024

https://issues.jenkins-ci.org/browse/JENKINS-12091
As far as I can tell, it has to do with Jenkins itself.
Don't know how to help you other than suggest to go to Jenkins google group and ask for help there.

from jenkins-gitlab-hook-plugin.

elvanja avatar elvanja commented on September 23, 2024

Nice suggestion! Forgot that Windows Jenkins instances we have setup are on C:.Jenkins, so no long paths issues there. Thanks!

from jenkins-gitlab-hook-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.