mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
11 lines
No EOL
427 B
Bash
11 lines
No EOL
427 B
Bash
#!/bin/bash
|
|
#download and unzip the sauce connector
|
|
curl http://saucelabs.com/downloads/Sauce-Connect-latest.zip > /tmp/sauce.zip
|
|
unzip /tmp/sauce.zip -d /tmp
|
|
|
|
#start the sauce connector in background and make sure it doesn't output the secret key
|
|
java -jar /tmp/Sauce-Connect.jar $SAUCE_USER $SAUCE_KEY & | grep -v $SAUCE_KEY
|
|
|
|
#save the sauce pid in a file and give it a bit of time to connect
|
|
echo $! > /tmp/sauce.pid
|
|
wait 30 |