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

JEP-200 Issues when in Build Flow Plugin

    Details

    • Similar Issues:

      Description

      When a build that uses groovy-postbuild is started by build-flow the GroovyPostbuildRecorder is unable to update the build.xml while serializing com.cloudbees.plugins.flow.FlowCause.

      These two must be used together - a job started by build flow without groovy does not have issues, or the same project started directly by a user.

      I was able to resolve this by adding the three following entries to whitelisted-classes.txt:

      java.util.concurrent.locks.ReentrantLock
      java.util.concurrent.locks.ReentrantLock$NonfairSync
      java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
      

      I do not know what changes may be needed in either of the plugins to correctly resolve this - I'll leave it up to others to create those tickets.

      Attached is the console output for four builds - one for each marshal failure, and the final success run at the end.

        Attachments

          Issue Links

            Activity

            nathanjackels Nathan Jackels created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Component/s core [ 15593 ]
            Component/s groovy-postbuild-plugin [ 15685 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Craig Rodrigues [ rodrigc ] Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary JEP-200 Issues when both Build-Flow and Groovy-Postbuild used JEP-200 Issues when in Build Flow Plugin
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-49156 [ JENKINS-49156 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels JEP-200 JEP-200 JEP-200-rejected
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Won't Do [ 10001 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-57001 [ JENKINS-57001 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                nathanjackels Nathan Jackels
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: