I'm trying to run grails geb/spock tests on jenkins. I install Xvfb Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin.
Jenkins configurations:
Asked
Active
Viewed 5,126 times
6

Oleg Baranovsky
- 368
- 5
- 22
-
1You may not have xvfb installed. Try installing it: http://serverfault.com/questions/344793/install-xvfb-via-yum-yum-repository-for-xvfb – Jayan Aug 06 '15 at 13:46
-
But in jenkins in instaled plugins I have it with the version 1.0.16. – Oleg Baranovsky Aug 06 '15 at 14:07
-
have you checked the docs about the installation? is xvfb just not accessible/runable for the user jenkins runs as? – cfrick Aug 06 '15 at 14:18
-
plugin probably _assumes_ xvfb is present. You need to install it as admin. I see that plugin installation has option to install xvfb. Did you try checking that option (Install Automatically)? – Jayan Aug 06 '15 at 14:36
-
Tried to run with Install Automatically option but the same error. – Oleg Baranovsky Aug 06 '15 at 15:44
1 Answers
0
After you install the Xvfb Plugin, you have to do: Manage Jenkins -> Configure System and find the Xvfb Installation section and add an installation with a Name and Directory in which to find Xvfb executable (which can be blank if it can be found in the PATH). Without this setting, Xvfb doesn't work.
So, why not search the PATH by default? Why should this be needed??

chrish
- 2,352
- 1
- 17
- 32