[
https://issues.jenkins-ci.org/browse/JENKINS-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161121#comment-161121
]
Ross Rowe commented on JENKINS-7830:
------------------------------------
Hi Lorrin,
Thanks for pointing out the deficiency in the environment variable regex, I'll
incorporate your suggestion into the next version (and update the help text).
With regards to the host/port changes, we removed the domain/remote port fields
as they were used by an older version of Sauce Connect, and weren't required by
the latest version of Sauce Connect.
The Host/Port fields are used to populate the environment variables that can be
referenced by your Selenium tests to configure the
RemoteWebDriver/DefaultSelenium instance.
If you need to specify a URL for the Selenium tests to run against, you can
select 'Selenium 1' from the Selenium Version field, and populate the 'Starting
URL' field. This will populate a SELENIUM_STARTING_URL environment variable,
which you can reference from your tests. The
By default, Sauce Connect will be running on port 4445, but this port can be
changed by specifying a value in the 'Sauce OnDemand Port' field.
Hope this helps, let me know if things are still unclear.
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