Created
April 4, 2011 06:44
-
-
Save pyykkis/901215 to your computer and use it in GitHub Desktop.
Jenkins cucumber step
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 -le | |
rvm use ree | |
# Run integration tests | |
export DISPLAY=:99 | |
/etc/init.d/xvfb start | |
RAILS_ENV=test rake cucumber:ci | |
RESULT=$? | |
/etc/init.d/xvfb stop | |
exit $RESULT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment