• 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

          Nicolas De Loof added a comment - see https://github.com/jenkinsci/configuration-as-code-plugin/issues/565  for guidance on fixing this issue

          Jon Brohauge added a comment - - edited

          Pull Request to make the plugin JCASC compatible

          Jon Brohauge added a comment - - edited Pull Request to make the plugin JCASC compatible

          Any news on this?

          Borja Domínguez added a comment - Any news on this?

          PR still not merged, will have to check with plugin's maintainer

          Ewelina Wilkosz added a comment - PR still not merged, will have to check with plugin's maintainer

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

              Created:
              Updated:
              Resolved: