Ensuring a consistent build environment

1 minute readReference

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.