Jenkins Agent with cygwin ssh connection issue
Hi folks,
I just wanted to drop by to share our observation.
We have a win10 jenkins agent, which hosts an ssh server inside a cygwin instants.
The Jenkins Controller connects to it via ssh.
Building our FPGA using altera 13.1 on this jenkins agent produces an incorrect output, which behaves not as it should.
On the other hand, if the same machine is connected directly to the Jenkins Controller, then the build is correct.
The reason in my opinion is, that using the ssh method, every command performed by the slave is actually done inside the given cygwin environment. As altera itself is using its own provided cygwin, I think the environment is getting poisoned and some tools are called from the wrong cygwin.
TL:DR:
Do not connect your jenkins agent via cygwin ssh if you plan to build altera projects on it.
Cheers!