[ 
https://issues.jenkins-ci.org/browse/JENKINS-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160433#comment-160433
 ] 

Ross Rowe commented on JENKINS-7830:
------------------------------------

Hi, the latest version of the plugin (v1.11) should support this.  The host 
name and port will be stored in the SELENIUM_HOST and SELENIUM_PORT environment 
variables.  They default to 'localhost' and '4444' respectively - the port will 
default to 4445 if Sauce Connect is enabled.  These values can be overriden via 
the 'Advanced' options on the Sauce OnDemand configuration settings for a Job.

Let me know if you have any problems, or if you need any further information.

Cheers,

Ross
                
> using environment variable for local port of ssh tunnel
> -------------------------------------------------------
>
>                 Key: JENKINS-7830
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-7830
>             Project: Jenkins
>          Issue Type: New Feature
>          Components: sauce-ondemand
>            Reporter: scytacki
>            Assignee: Ross Rowe
>             Fix For: current
>
>
> I use an environment variable to set the port used by the local server that I 
> want to test.  I do this because we want to be able to build/test the hudson 
> job on multiple slave nodes at the same time.  We currently have those slave 
> nodes running on the same machine. If the port is hard coded then I can't 
> startup multiple local servers at the same time because the port will be the 
> same for each and will conflict.
> So it would be helpful if the sauce-ondemand plugin would allow using 
> environment variables for the "Local Port" setting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to