use SAUCE_ACCESS_KEY

This commit is contained in:
Chia-liang Kao 2013-06-07 00:58:06 +08:00
parent cd277e5810
commit f8729d2188
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ var config = {
host: "ondemand.saucelabs.com"
, port: 80
, username: process.env.SAUCE_USER
, accessKey: process.env.SAUCE_KEY
, accessKey: process.env.SAUCE_ACCESS_KEY
}
var allTestsPassed = true;

View File

@ -4,7 +4,7 @@ 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 -f /tmp/tunnel > /dev/null )&
(java -jar /tmp/Sauce-Connect.jar $SAUCE_USER $SAUCE_ACCESS_KEY -f /tmp/tunnel > /dev/null )&
# save the sauce pid in a file
echo $! > /tmp/sauce.pid