Hi everyone,

I'd like to understand how am I supposed to handle *GitSCM* in a 
*StepExecution*.

Here is the interesting portion of the code : 
https://github.com/jenkinsci/git-push-plugin/blob/5c9525da6da7bed8fd70e8a45d62eafd1daad3f1/src/main/java/io/jenkins/plugins/git_push/GitPushStep.java#L71-L71

If I remove the *transient* modifier from the *GitScm *attribute, I will 
get *java.io.NotSerializableException: hudson.util.DescribableList*.

Is GitPushStep already doing that correctly? If yes, what are the 
consequences of this lack of serialization?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/835ef611-464b-4b81-ab96-6dd5d9f66cc5n%40googlegroups.com.

Reply via email to