I have just tried running Xvfb from a Pre-build script.
I first tried the same command that the plugin created, but just from
command line on the server:
Xvfb :1 -screen 0 -fbdir
/var/lib/jenkins/xvfb-106-4356636144193454909.fbdir
I get error:
Invalid screen configuration -fbdir for -screen 0
OK, I got it: I made the mistake of reading the documentation. :(
The documentation says:* Xvfb screen* changes the screen resolution and
pixel depth, it needs to be in WxHxD format (i.e. 1600x1200x24). The
default is 1024x768x24.
Unfortunately, there is no default, the default is blank, which
I have just installed the xvfb-plugin on my Jenkins:
- Linux jenkins 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64 GNU/Linux
- Xvfb Version: 2:1.12.4-6+deb7u6
- Jenkins ver. 1.641
- Xvfb plugin 1.1.2
I configured everything with defaults as per documentation.
The first time I run a job, in
On 10/12/15 21:19, V. Mark Lehky wrote:
> I have just installed the xvfb-plugin on my Jenkins:
> - Linux jenkins 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64 GNU/Linux
> - Xvfb Version: 2:1.12.4-6+deb7u6
> - Jenkins ver. 1.641
> - Xvfb plugin 1.1.2
>
> I configured everything with defaults