Ensuring a Consistent Build Environment
If any tools (such as compilers) are installed locally, you must ensure that they are all the same version on all agent host machines and kept in sync. Also, to avoid problems, all agent host machines should use the same operating system. Finally, for predictable performance, you should consider using a homogeneous cluster (that is, identical hardware for all agent host machines in the same cluster).
|Ghosting with agents already installed is not recommended.|
CloudBees also recommends that all hosts in a cluster have synchronized clocks. This is important, particularly if you are running in the “shared” agent allocation policy.
For Linux or UNIX machines, you can use utilities such as ntpdate or a combination of ntpd and sntp to synchronize clocks. For more information, see https://www.ntp.org/.
For Windows machines, participation in a domain generally ensures synchronized clocks. You can also use the W32Time Time Service tool and the w32tm system utility to synchronize clocks. For more information, see Microsoft TechNet article "Windows Time Service Tools and Settings" and Microsoft Fix it 50395 in Microsoft KB article 816042 "How to configure an authoritative time server in Windows Server."