I am trying to understand the excat mean of communciation between master and slave in jenkins. How does the jobs/instructions from master to the slave is being trasmitted ?

I am aware that a TCP/IP bi-deirectional link is established.

Is there any document that explains in details ( not just overall ) mean of communication between master and slave? Also, what are the packages in the source code that are invloved in the communication ?

So far I know its,
getTCPslaveAgentListener getSlaveagentPort() SetSlaveAgentPort CheckTaskLisnter

Thanks,

有帮助吗?

解决方案

Jenkins uses a library it calls remoting, which takes care of establishing a channel, sending closures and automatically loading the required Java classes on the remote machine.

There's some documentation on how it works here (PDF).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top