aginteractive / Gradle-Sauce-Connect-Plugin

This is a Sauce Connect plugin that downloads, starts and stops SauceLab's Sauce Connect application.
Apache License 2.0
5 stars 9 forks source link

Inject SauceConnect options #1

Closed johnroach closed 7 years ago

johnroach commented 7 years ago

We need to make SauceConnect option injection available to users of this plugin.

zhtaoang commented 7 years ago

It's a hacky way to do it. But before we have this feature ready, we may simply append sauce-connect options to the key of sauceAuth like below:

sauceAuth {
   username = "$System.env.SAUCE_USERNAME"
   key = "$System.env.SAUCE_ACCESS_KEY" + " --tunnel-identifier appleTunnel"
}

PS: I know you guys already know that. Just FYI for other users. Haha. PPS: Why not just add one more parameter in sauceAuth to do this, 'options' maybe. It's just a string anyway.

johnroach commented 7 years ago

Yup. Will try to do this as soon as I can. However, if you want to feel free to contribute and send a pull request! We would really appreciate it!

Josh-a-e commented 7 years ago

Really pleased to see this added, any ideas when it will get released?

johnroach commented 7 years ago

Hi @Josh-a-e , this has been merged. Currently waiting for SauceLabs to do a new build. We are thinking of creating a dev release on the gradle plugin site. Please watch this repository for more updates soon!