When I changed network settings of my Virtual Machine to "Bridged: Connected directly to the physical network", jobs is done extremely slow.
I have Jenkins server which is installed on Virtual Machine, when the IP of virtual machine is "local" (e.g. 192.168.1.20) jobs are done quite OK (~6minutes per build).
But when I changed IP to domain IP (e.g. 126.96.36.199) build are soooo slow (up to 15 hours!). I changed IP due to fact, that I want to connect with server (from web browser) from every computer in network (not only from VM host computer)
I tried almost everything, changed proxy setting, changed Java proxy settings, increase Java buffers, turn off the antyvirus and still nothing.
This is not compiler/computer issue, because when I start compiling from command prompt (directly where the Makefile is), clean is perform quick, via Jenkins it stuck first time at:
mkdir -p XmlConfig
and take ~3minutes when in "normal" build it take ~100ms