From: Holger Levsen Date: Thu, 5 Apr 2012 12:50:17 +0000 (+0200) Subject: script has been renamed, follow up X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=045e84e5b59b13331982636a1fa4abe184e16c9d;p=profitbricks%2Fjenkins-build-scripts.git script has been renamed, follow up --- diff --git a/schedule_selenium_tests.sh b/schedule_selenium_tests.sh index a8add20..3f547e6 100755 --- a/schedule_selenium_tests.sh +++ b/schedule_selenium_tests.sh @@ -1,7 +1,12 @@ #!/bin/sh +# copyright 2012 Holger Levsen +# GPL2 licenced + +# see http://homepage/doc/so-docs/workflows-webtests/ for documentation of this script + set -e -export +export TOKEN=$(pwgen) TEST_LANGUAGE=$(echo $JOB_NAME | cut -d "-" -f2) @@ -19,7 +24,7 @@ else exit 1 fi -ssh -i ~jenkins/.ssh/id_selenium -t selenium@seoul ./runit.sh $TOKEN $TEST_LANGUAGE $TEST_BROWSER $TEST_PORT +ssh -i ~jenkins/.ssh/id_selenium -t selenium@seoul /usr/lib/wptest/run_from_jenkins.sh $TOKEN $TEST_LANGUAGE $TEST_BROWSER $TEST_PORT scp -r -i ~jenkins/.ssh/id_selenium selenium@seoul:$TOKEN/* . ssh -i ~jenkins/.ssh/id_selenium selenium@seoul rm ./$TOKEN -Rf