The Groovy code we push out to Jenkins through our pipelines and
global libraries is secure and we trust our developers. We would like
not to see jobs fail for instance with:
Caused by: java.lang.UnsupportedOperationException: Refusing to marshal
org.codehaus.groovy.runtime.ConvertedClosure for security reasons
at
hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:452)
at
com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
Is there a way to not use the BlacklistedTypesConverter? It is not
providing us with any use.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d4c2da90-501d-4ebf-b2e2-c1f9e37cefc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.