Hi!
There are two possible solutions. Use the X virtual framebuffer with Jenkins or implement a custom ScreenRobot.
1. To test TestFX with Travis CI we use the X virtual framebuffer. Maybe you could instruct Jenkins to use this.
Here is a snipped from ".travis" in master:
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
2. I didn't use Monocle so far, but the blog posts states that it works with a custom implementation
of ScreenRobot (MonacleRobot) passed into FxRobot.
P.S.: Also I'm currently writing an technical "500 word essay" on the core concepts of TestFX, with brief
reflection on the past and proposals for the future. I'll put some words on the transition from
java.awt.robot to com.sun.glass.ui.Robot and Monacle into the essay.
Regards
Benjamin