Skip to content

Instantly share code, notes, and snippets.

@pyykkis
Created April 4, 2011 06:44
Show Gist options
  • Save pyykkis/901215 to your computer and use it in GitHub Desktop.
Save pyykkis/901215 to your computer and use it in GitHub Desktop.
Jenkins cucumber step
#!/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