-
Bug
-
Resolution: Won't Do
-
Minor
-
Jenkins 2.103, Groovy Postbuild 2.3.1, Build Flow 0.20
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.
- is duplicated by
-
JENKINS-57001 Build.xml is not getting saved. Failed to serialize com.cloudbees.plugins.flow.FlowRun#startJob for class com.cloudbees.plugins.flow.FlowRun
-
- Open
-
-
JENKINS-49156 Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
-
- Resolved
-
[JENKINS-49144] JEP-200 Issues when in Build Flow Plugin
Component/s | Original: core [ 15593 ] | |
Component/s | Original: groovy-postbuild-plugin [ 15685 ] |
Assignee | Original: Craig Rodrigues [ rodrigc ] | New: Oleg Nenashev [ oleg_nenashev ] |
Summary | Original: JEP-200 Issues when both Build-Flow and Groovy-Postbuild used | New: JEP-200 Issues when in Build Flow Plugin |
Link |
New:
This issue is duplicated by |
Labels | Original: JEP-200 | New: JEP-200 JEP-200-rejected |
Here is my analysis:
I would say we won't fix Build Flow plugin since we have no way to release it. WDYT jglick danielbeck?