How does the jobs/instructions from master to the slave is being trasmited in Jenkins ?

StackOverflow https://stackoverflow.com/questions/15906409

  •  03-04-2022
  •  | 
  •  

Вопрос

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