thanks a lot. I didn't see this option "Let Xvfb choose display name"

:)

Le jeudi 7 janvier 2016 18:57:10 UTC+1, old hooky a écrit :
>
> > Quoting iostrym <[email protected] <javascript:>>: 
> > 
> >> Hi, 
> >> 
> >> We have a TCL script that has a GUI that is executed by Jenkins using a 
> >> shell script in the job. 
> >> 
> >> Then we have to use : 
> >> 
> >> export DISPLAY=:<PORT_NUMBER> 
> >> 
> >> I used things like that to try to avoid the use of a port number that 
> is 
> >> already used by someone else or by another job : 
> >> 
> >> export DISPLAY=:`expr "$BUILD_NUMBER" + "100"` 
> >> 
> >> Is there a clean way in the jenkins shell script to get a port_number 
> that 
> >> is free ? so that the job will never fail because of a port_number 
> already 
> >> existant... 
> >> 
> >> thanks a lot. 
> > 
> > 
> > Try this: 
> https://wiki.jenkins-ci.org/display/JENKINS/Port+Allocator+Plugin 
>
>
> Sorry, you asked for a free port number, but that's not really what you 
> want. 
>
> As suggested, you should use   
> https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin 
>
>

-- 
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/dca2df53-66ec-4c03-a19f-8239d091c001%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to