Jenkins, xvfb and selenium
Asked Answered
R

4

20

I have been attempting to follow the instructions here to get the Xvfb plugin running: https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin

Currently the xvfb executable is at /usr/bin/Xvfb.

My project configuration and Jenkins config are identical to the instructions, however i am getting this error:

ERROR: No Xvfb installations defined, please define one in the configuration. Once defined you''ll need to choose one under Advanced options for Xvfb plugin job settings and save job configuration.

I have also tried putting the path to the executable in the Jenkins config, with had no change on the outcome.

Any ideas how I can get this working?

Roorback answered 19/2, 2013 at 22:4 Comment(0)
V
11

You must define a Xfvb installation in "Manage Jenkins" => "Configure System" => "Xvfb installation"

Vann answered 27/2, 2013 at 7:22 Comment(3)
I've tried this, but my installation configurations won't save.Expect
just put any name for the config and /usr/bin for the pathAlbedo
At the moment, this option is locate under "Global Tool Configuration" (jenkisHost:jenkinsPort/configureTools) but not "Configure System"Adalbert
S
8

You must define installation Xvfb on Jenkins. Access Manage Jenkins >> Global Tool Configuration. In Section Xvfb installation, put name and fill the field "Directory in which to find Xvfb executable" with /usr/bin.

Similarity answered 1/5, 2017 at 19:4 Comment(1)
I'm using jenkins pipeline and Xvfb is configured as this image. but when I execute the job which have xvfb wrapper i'm getting the error "ERROR: No Xvfb installations defined, please define one in the configuration. Once defined you''ll need to choose one under Advanced options for Xvfb plugin job settings and save job configuration."Medorra
C
2

Currently the xvfb executable is at /usr/bin/Xvfb

No, default xvfb location is /usr/bin

Coattail answered 15/11, 2013 at 15:32 Comment(0)
P
0

With the version 1.10 of the plugin I couldn't save the properties. After upgrading to version 1.12, it started saving.

Pansir answered 5/2, 2016 at 9:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.