Hi all,

I'm new with workflow-plugin and I'm trying to run some webdriver tests, 
but I'm not able to make Xvnc work.

I tryied to use this code generate by Snippet Generator, to use 
XvfbInstallation:
  
tool name: 'default', type: 'org.jenkinsci.plugins.xvfb.XvfbInstallation'

and also including the following code to run:

wrap([$class: 'Xvnc', useXauthority: true]) {
    // here $DISPLAY is set to :11 or similar, and $XAUTHORITY too
    sh 'make selenium-tests' // or whatever
  }


All I've got is: 
java.io.IOException: Cannot run program "vncserver" (in directory 
"/home/ubuntu/workspace/workflow-CIT996"): error=2, No such file or 
directory

I printed the return of "tool name: 'default', type: 
'org.jenkinsci.plugins.xvfb.XvfbInstallation'"and it was blank. (I have 
Xvfb installation configured on Jenkins)

If someone can help me, will be welcome.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fcea89f9-3c7f-4d64-83f1-ff1664097285%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to