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

'GitLab commit status publisher' causes unreadable project configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • gitlab-hook-plugin
    • None
    • 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)

      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

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

              Created:
              Updated:
              Resolved: