• Log Parser 2.1

      As outlined at https://github.com/jenkinsci/configuration-as-code-plugin/issues/565, when attempting to export configuration on a Jenkins instance with the Log Parser Plugin installed, the resulting yaml file contains a stack trace:

      FAILED TO EXPORT hudson.plugins.logparser.LogParserPublisher$DescriptorImpl
      java.lang.IllegalAccessException: Class io.jenkins.plugins.casc.impl.configurators.DescriptorConfigurator can not access a member of class hudson.plugins.logparser.LogParserPublisher$DescriptorImpl with modifiers "private"
      at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
      at java.lang.Class.newInstance(Class.java:436)
      at io.jenkins.plugins.casc.impl.configurators.DescriptorConfigurator.describe(DescriptorConfigurator.java:64) 

      According to the source of the Log Parser Plugin, this is likely in reference to the fact that the constructor to the DescriptorImpl is private. This implies that there may need to be specialized support to export or configure the plugin with Jenkins CasC. 

      Keep in mind that this plugin has not been updated or years.

          [JENKINS-53864] CasC compatibility with Log Parser Plugin

          Kelvin Chung created issue -
          Nicolas De Loof made changes -
          Component/s Original: configuration-as-code-plugin [ 23170 ]
          Jon Brohauge made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 22009 ]
          Jon Brohauge made changes -
          Comment [ PR to get plugin to be JCASC compatible ]
          René Scheibe made changes -
          Remote Link New: This issue links to "jenkinsci/configuration-as-code-plugin/issues/534 (Web Link)" [ 22363 ]
          René Scheibe made changes -
          Remote Link Original: This issue links to "jenkinsci/configuration-as-code-plugin/issues/534 (Web Link)" [ 22363 ]
          Martin Reinhardt made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Martin Reinhardt made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]
          Martin Reinhardt made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]
          Oleg Nenashev made changes -
          Released As New: Log Parser 2.1

            ewel Ewelina Wilkosz
            kchung_twitter Kelvin Chung
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: