From 045e84e5b59b13331982636a1fa4abe184e16c9d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 5 Apr 2012 14:50:17 +0200 Subject: [PATCH] script has been renamed, follow up --- schedule_selenium_tests.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.5