hudson.plugins.sauce_ondemand.Tunnel.help-domains.html Maven / Gradle / Ivy
Specify the host name(s) that this tunnel represents. Multiple host names can be specified with
whitespace as a separator. Whenever tests running inside Sauce OnDemand accesses the "remote port" on these
host name, those connections are forwarded to the "local port" of the "local host".
Sauce OnDemand has a natural restriction where the remote host name needs to be unique across
all the tunnels under your user account. However, this doesn't work well if you are trying to
run the same test in different environments in parallel, or perform multiple builds of the same
job concurrently. To resolve this problem, you can specify AUTO here to let Hudson
generate a unique host name — this host name will be then exposed to your build
as the environment variable SAUCE_ONDEMAND_HOST, and its HTTP URL (e.g., "http://foobar/") is exposed as
SELENIUM_STARTING_URL.
Your test should use Selenium client factory,
or otherwise your test needs to drive Selenium accordingly to use this as the host name.