From: Holger Levsen Date: Wed, 7 Nov 2012 11:40:46 +0000 (+0100) Subject: adapt to cope with changed job titles X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=00953fe47f9e3122beea51953eaaf71bae107825;p=profitbricks%2Fjenkins-build-scripts.git adapt to cope with changed job titles --- diff --git a/schedule_selenium_tests.sh b/schedule_selenium_tests.sh index 3f547e6..4fb5f3d 100755 --- a/schedule_selenium_tests.sh +++ b/schedule_selenium_tests.sh @@ -9,10 +9,10 @@ set -e export TOKEN=$(pwgen) -TEST_LANGUAGE=$(echo $JOB_NAME | cut -d "-" -f2) -TEST_BROWSER=$(echo $JOB_NAME | cut -d "-" -f3) +TEST_CASE=$(echo $JOB_NAME | cut -d "-" -f2-3) +TEST_BROWSER=$(echo $JOB_NAME | cut -d "-" -f4) -figlet $TEST_LANGUAGE +figlet $TEST_CASE figlet $TEST_BROWSER if [ "$TEST_BROWSER" = "firefox" ] ; then @@ -24,7 +24,7 @@ else exit 1 fi -ssh -i ~jenkins/.ssh/id_selenium -t selenium@seoul /usr/lib/wptest/run_from_jenkins.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_CASE $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