Ruby plugins should not need global.erb to allow /configure to load

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: ruby-runtime
    • None

      I think this might be a bug in jenkins-plugin-runtime, but I couldn't find a component for it.

      When I try to load a HPI of a Ruby plugin, like the pathignore plugin, accessing the /configure page throws an exception and fails to load.
      Specifically, this:

      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/Users/jtjerno/.jenkins/war/WEB-INF/lib/jenkins-core-1.438.jar!/jenkins/model/Jenkins/configure.jelly:58:84: <st:include> No page found '/pathignore_wrapper/global' for class org.jruby.proxy.hudson.model.Descriptor$Proxy0

      If I: touch ~/.jenkins/plugins/pathignore/WEB-INF/classes/pathignore_wrapper/global.erb
      And then restart Jenkins, it loads fine.

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Jørgen Tjernø
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: