Hi Ivan,

Yep! I guess you are somewhere in your shared Jenkins pipeline library using 
sun.net.www.protocol.https.HttpsURLConnectionImpl – most likely because you are 
doing an URL request for e.g. a REST API call
=> extract that encapsulated logic into a dedicated method that returns 
something serializable (or primitive object) and annotate this method with 
@NonCPS

HTH Reinhold

-- 
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/VI1P190MB0111C4AB2409F465E1CF68A4F7510%40VI1P190MB0111.EURP190.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to