mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
can it start the script?
This commit is contained in:
parent
0420b89382
commit
52b73f46e1
1 changed files with 7 additions and 6 deletions
|
@ -1,12 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#download and unzip the sauce connector
|
#download and unzip the sauce connector
|
||||||
curl http://saucelabs.com/downloads/Sauce-Connect-latest.zip > /tmp/sauce.zip
|
echo "hello world"
|
||||||
unzip /tmp/sauce.zip -d /tmp
|
#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
|
#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)&
|
#(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
|
#save the sauce pid in a file and give it a bit of time to connect
|
||||||
echo $! > /tmp/sauce.pid
|
#echo $! > /tmp/sauce.pid
|
||||||
wait 30
|
#wait 30
|
||||||
kill $!
|
#kill $!
|
Loading…
Reference in a new issue