I'm trying to find some documentation of how Jenkins shares information between master and slaves. I'm not necessarily interested in the channels, or mechanisms, but the guarantees (wishes) on how the memory would be distributed (I am also interested in the channels, and mechanisms, but that's another question).
So, I know (or rather I think I know) there are two connections, a bi-directional tcp, and a bi-directional of standard io passed through the ssh connection. This is what I keep finding when asking the question, but it's not quite the answer that I am interested in. So, I will ask w/ an example: In master I have a map of data ([ somekey: "some value"]). I make this data available to a closure that I am passing to slave executors slave-a, and slave-b. If slave-b modifies this map (or it's local copy of it), 1) is the change reflected in the master?, 2) is the change reflected on the other slave-a?, 3) If yes, what are the guarantees (or (un)documented behaviors) here? I don't know, but I suspect that my self-defined objects are not synchronized throughout the "cluster" (especially since Jenkins distances itself from being considered a cluster). Is that true? I wonder however if properties defined in "env" are (simply because it's a data structure under their control)? Anyway, if you are able to answer any of those, maybe you can describe how it's being done too just to satisfy my curiosity. -- 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/2f600c3a-fd9f-4b50-a026-53a3faacc288%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
