Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Won't Fix
Description
So I wanted to discuss this, in case there's a good reason for rejecting org.codehaus.groovy.runtime.GStringImpl specifically. We're currently blacklisting org.codehaus.groovy.runtime.* in hudson.remoting.ClassFilter.DEFAULT and that can cause hassles, so I thought it was worth discussion.
Attachments
Issue Links
- relates to
-
JENKINS-43934 GString kept unevaluated as long as StepDescriptor.newInstance (was: Pipeline build fails with serialization error when using string interpolation)
-
- Closed
-
-
JENKINS-44873 UnsupportedOperationException - Refusing to marshal org.codehaus.groovy.runtime.GStringImpl
-
- Reopened
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Link | This issue relates to JENKINS-44873 [ JENKINS-44873 ] |
Component/s | core [ 15593 ] |
Remote Link | This issue links to "CloudBees Internal CD-347 (Web Link)" [ 18987 ] |
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Labels | JEP-200 |
This is causing us issues as of the latest update on an unmodified Jenkinsfile. I can't trace down what particular change caused it (it was a plugin or system update, not the Jenkinsfile itself).
I was able to work around it by changing an option on the S3BucketPublisher (running it via step()) from:
sourceFile: "${env.BRANCH_NAME}.jenkins.tar.gz"
To:
sourceFile: env.BRANCH_NAME + '.jenkins.tar.gz'
That full step invocation with the fixed `sourceFile`:
The trace: