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

Build.xml is not getting saved. Failed to serialize com.cloudbees.plugins.flow.FlowRun#startJob for class com.cloudbees.plugins.flow.FlowRun

      After Jenkins upgrade to 2.154 We could see the build.xml is not getting generated for build flow jobs and hence logs are disappered in pipeline.

       

          [JENKINS-57001] Build.xml is not getting saved. Failed to serialize com.cloudbees.plugins.flow.FlowRun#startJob for class com.cloudbees.plugins.flow.FlowRun

          Oleg Nenashev added a comment -

          Please see the response in JENKINS-49144 . The plugin is no longer maintained, and it is depublished from the main update center. I would not expect a fix unless you are interested to contribute it and, likely, to take ownership of the plugin

           

          It is recommended to use Jenkins Pipeline instead

          Oleg Nenashev added a comment - Please see the response in  JENKINS-49144 . The plugin is no longer maintained, and it is depublished from the main update center. I would not expect a fix unless you are interested to contribute it and, likely, to take ownership of the plugin   It is recommended to use Jenkins Pipeline instead

          oleg_nenashev We have more than 1500 jobs been configured with buildflow.Its a complex process for us to go with pipeline now.so looking for a workaround to get this build flow jobs working as expected in jenkins 2.154.

          Padmapriya Balasundaram added a comment - oleg_nenashev We have more than 1500 jobs been configured with buildflow.Its a complex process for us to go with pipeline now.so looking for a workaround to get this build flow jobs working as expected in jenkins 2.154.

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Closing as a duplicate of  JENKINS-57001 . Workarounds are provided in  https://issues.jenkins-ci.org/browse/JENKINS-49144?focusedCommentId=326469&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-326469

          oleg_nenashev We have applied Whitelisting to the plugins( Build flow and dsl plugins) .PFA screenshot.

          Also can you please exactly say in which file(Path) we need to apply this whitelisting

          • Suppress the entire whitelist by using "-Djenkins.security.ClassFilterImpl.SUPPRESS_WHITELIST=true"

           

           

          Padmapriya Balasundaram added a comment - oleg_nenashev We have applied Whitelisting to the plugins( Build flow and dsl plugins) .PFA screenshot. Also can you please exactly say in which file(Path) we need to apply this whitelisting Suppress the entire whitelist by using "-Djenkins.security.ClassFilterImpl.SUPPRESS_WHITELIST=true"    

          Oleg Nenashev added a comment - - edited

          Whomever reopened it, I am not working on it. I also cannot provide an exact list of classes which will need a fix

          Oleg Nenashev added a comment - - edited Whomever reopened it, I am not working on it. I also cannot provide an exact list of classes which will need a fix

            Unassigned Unassigned
            padma91 Padmapriya Balasundaram
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: