Created
October 29, 2010 18:30
-
-
Save burtlo/654081 to your computer and use it in GitHub Desktop.
Hudson Bash Shell Command: Execute a test on a remote system, save the results, return the results file, return the results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
rm -f spec_results.html | |
ssh $TEST_SYSTEM "bash --login -c \"cd ~/testsuite/ && rm -f test_results.html && svn up --accept theirs-full && rake spec env=${TEST_SYSTEM} \"" | |
declare test_results=$? | |
scp $TEST_SYSTEM:/home/automateduser/testsuite/test_results.html $WORKSPACE | |
exit $test_results |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment