-
New Feature
-
Resolution: Fixed
-
Major
-
None
Currently it appears I need to put the sauce username and api key in two places. First in the hudson config so the ssh tunneling works, and then second ~/.sauce-ondemand so the Sauce OnDemand driver for SeleniumFactory knows what it is.
It seems better if the hudson config could pick it up automatically from ~/.sauce-ondemand, or if was passed through to the hudson project with environment variables. Perhaps one of these things already works, but I didn't see it in the documentation.
I think having an option to override with values from environment variables may work, but there are use cases (such as my employer's) where we need to be able to specify the username/api key in Hudson, so I'd argue strongly against only allowing them to come from an environment variable. I'd also argue against picking them up from ~/.sauce-ondemand - that won't work if the file's not there on the master, such as if the tests are all being run on slaves, etc.