-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkins ver. 1.611, xvfb-plugin 1.0.16
I've set Xvfb's option "Start only on nodes labeled" to "master" in a multi-configuration job.
None of the involved slave nodes has a Xvfb executable, only the master node has.
None of the combinations run on master, but I have a post-build script that needs Xvfb.
The job's "Restrict where this project can be run" is set to "master".
I would have expected Xvfb to run on the master during the whole job run, including the post-build phase, but it didn't happen.
tl;dr a matrix job spawning jobs on nodes without Xvfb, and a post-build jobs that collect such jobs results and creates plots from master.
Jenkins build wrappers do not run in the post build actions, but in Xvfb plugin there is an option you can check called "Shutdown Xvfb with whole job, not just with the main build action" that should help you have the Xvfb running in the post build steps.