How to launch a GUI test on a Linux box from Jenkins running on Solaris
1012203May 31 2013 — edited Jun 1 2013I have a Jenkins server running on Solaris and a job that needs to connect to a Linux machine to run a test. The test need to launch and display Firefox.
I tried multiple ways to connect from the Jenkins job running on the Solaris machine to the Linux machine and then running a script that runs the test. The test runs, but the problem that I am facing is that Firefox cannot be started because there is a issue with the DISPLAY and therefore the test fails. I tried setting the DISPLAY variable and using the Jenkins ssh and parametrized plugins, however I am unable to get Firefox to come up on the Linux machine. This issue to seems specifically exist only when running a Jenkins job on Solaris that connects to a Linux machine.
I do not run into this problem when Jenkins and the test are both on the Linux machine. Plus, I am able to display a GUI between a Solaris and Linux via a VNC session by just setting the DISPLAY variable correctly.
Any ideas anyone?
Thanks,
Steven