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. -- 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/cf57c04e-f94c-4b2b-9bcf-c1731ef0c9aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
