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:
Jenkins Cannot run program "Xvfb": java.io.IOException :no such file or directory
You may not have xvfb installed. Try installing it: serverfault.com/questions/344793/… –
Albumenize
But in jenkins in instaled plugins I have it with the version 1.0.16. –
Frill
have you checked the docs about the installation? is xvfb just not accessible/runable for the user jenkins runs as? –
Fearful
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)? –
Albumenize
Tried to run with Install Automatically option but the same error. –
Frill
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??
© 2022 - 2024 — McMap. All rights reserved.