Re: JavaFX on headless Jenkins

2014-01-07 Thread David Hill
On 1/6/14, Jan 6, 3:13 PM, Tom Eugelink wrote: Yes please, I've got Jenkins setup so it starts a vncserver and it runs on linux, so I'm interesting in the option you mention (as long as it doesn't require too many hoops I need to jump through). This will take me a day of so. It would appear

Re: JavaFX on headless Jenkins

2014-01-07 Thread Tom Eugelink
Nope, Xvfb has the same problem... Xvfb starting$ /usr/bin/Xvfb :2 -screen 0 1024x768x24 -fbdir /var/lib/jenkins/2014-01-07_19-17-242962656246439721545xvfb ... :*test* Executing task ':test' (up-to-date check took 0.051 secs) due to: No history is available. Starting process 'Gradle Worker

Re: JavaFX on headless Jenkins

2014-01-07 Thread Matthieu BROUILLARD
For JFXtras build on travis.org, I just followed some docs pages to setup xvfb, sorry I am not a linux/unix expert and don't know how to help more. *[Stupid linux user mode activated]* If you do not have the /etc/init.d/xvfb script, can't you launch the program itself in background? *[/Stupid

Re: JavaFX on headless Jenkins

2014-01-07 Thread Tom Eugelink
Jenkins does that for me. On 2014-1-7 21:13, Matthieu BROUILLARD wrote: For JFXtras build on travis.org http://travis.org, I just followed some docs pages to setup xvfb, sorry I am not a linux/unix expert and don't know how to help more. /[Stupid linux user mode activated]/ If you do not

Re: JavaFX on headless Jenkins

2014-01-06 Thread David Hill
On 1/4/14, Jan 4, 3:57 PM, Tom Eugelink wrote: I'm trying to run JavaFX UI tests using TestFX on a headless Jenkins server (Ubuntu / Debian). I've gotten to the point where the UI is actually started by Jenkins, but then the test fail with a no suitable pipeline found. Any suggestions how to

Re: JavaFX on headless Jenkins

2014-01-06 Thread Richard Bair
Hi Tom! On Jan 4, 2014, at 12:57 PM, Tom Eugelink t...@tbee.org wrote: I'm trying to run JavaFX UI tests using TestFX on a headless Jenkins server (Ubuntu / Debian). I've gotten to the point where the UI is actually started by Jenkins, but then the test fail with a no suitable pipeline

Re: JavaFX on headless Jenkins

2014-01-06 Thread Kevin Rushforth
The headless toolkit mentioned by David and Richard is one possible approach, and may be the best long term approach depending on what you are trying to test (e.g., it won't test rendering, but might be fine for most of your tests), but as Richard notes, it isn't there yet. If you prefer not

Re: JavaFX on headless Jenkins

2014-01-06 Thread Tom Eugelink
Yes please, I've got Jenkins setup so it starts a vncserver and it runs on linux, so I'm interesting in the option you mention (as long as it doesn't require too many hoops I need to jump through). Tom On 2014-1-6 17:36, David Hill wrote: On 1/4/14, Jan 4, 3:57 PM, Tom Eugelink wrote: I'm

Re: JavaFX on headless Jenkins

2014-01-06 Thread Matthieu BROUILLARD
On the linux nodes on travis.org xvfb is used to mimic a GUI environment on headless nodes. Have a look at : http://about.travis-ci.org/docs/user/gui-and-headless-browsers/ you might be probably able to do something like that on your linux box. Matthieu

Re: JavaFX on headless Jenkins

2014-01-06 Thread Tom Eugelink
Ok. I saw xfvb passing by, but most blogs talked about xvnc, I'll give that a spin. Thanks. Tom BTW: the Travis environment keeps reporting errors; it has trouble downloading one of the supporting jar from maven. On 2014-1-6 23:49, Matthieu BROUILLARD wrote: On the linux nodes on