Jenkins remoting is an executable JAR, which implements communication layer in Jenkins automation server. It's being used for master <=> agent(fka "slave") and master <=> CLI communications.
In general, this library contains the bootstrap code to bridge separate JVMs into a single semi-shared space. It includes: TCP-based communication protocols, data serialization, Java classloading.
The library is reusable outside Jenkins.
Remoting documentation is under development. More info will appear soon. Feel free to contribute.
User documentation:
- Changelog - Remoting release notes
- Remoting Protocols - Overview of protocols integrated with Jenkins
- Remoting Configuration - Configuring remoting agents
- Logging - Logging
- Work Directory - Remoting work directory (new in Remoting
3.8
) - Jenkins Specifics - Notes on using remoting in Jenkins
- Troubleshooting - Investigating and solving common remoting issues
Previous versions:
- Remoting versions - Description of Remoting
2.x
and3.x
differences - Changelog - 2.x - Changelog for the Remoting
2.x
stabilization releases - Remoting 3 Compatibility Notes
Developer documentation:
Remoting library uses the Jenkins bugtracker.
Issues should be reported there in the JENKINS
project with the remoting
component.
See How to report an issue for more details about Jenkins issue reporting.
- Remoting Architecture Overview by Winston Prakash, Oracle (the information is outdated)
- Making your plugin behave in distributed Jenkins
- Writing an SCM plugin. Remoting examples
- Troubleshooting remoting issues
- Scaling Jenkins to Hundreds of Nodes by Akshay Dayal, Google (remoting optimization, JNLP3)