Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41025

'GitLab commit status publisher' causes unreadable project configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: gitlab-hook-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.32.1
      ruby-runtime 0.13
      gitlab-hook 1.4.2
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
    • Similar Issues:

      Description

      Whenever I add the "GitLab commit status publisher" post-build action to my freestyle project and restart Jenkins, on the next startup Jenkins complains "You have data stored in an older format and/or unreadable data".

      This fragment is added to the project config.xml:

      <publishers>
        <ruby-proxy-object>
          <ruby-object ruby-class="Jenkins::Tasks::PublisherProxy" pluginid="gitlab-hook">
            <object ruby-class="GitlabNotifier" pluginid="gitlab-hook"/>
            <pluginid pluginid="gitlab-hook" ruby-class="String">gitlab-hook</pluginid>
          </ruby-object>
        </ruby-proxy-object>
      </publishers>
      

      The "Manage Old Data" screen says:

      Type: hudson.model.FreeStyleProject
      Name: semic-test
      Error: NoSuchMethodError: org.jruby.RubyClass.getVariableAccessorForWrite(Ljava/lang/String;)Lorg/jruby/RubyClass$VariableAccessor;, CannotResolveClassException: pluginid, InstantiationError: null

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            javiplx Javier Palacios
            Reporter:
            intgr Marti R.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: