Skip to content

Instantly share code, notes, and snippets.

@danmcclain
Created November 18, 2011 14:48
Show Gist options
  • Select an option

  • Save danmcclain/1376643 to your computer and use it in GitHub Desktop.

Select an option

Save danmcclain/1376643 to your computer and use it in GitHub Desktop.
Jenkins Build Step
source ~/.bashrc > /dev/null
cd .
cp ~/example-database.yml config/database.yml
[ -d jenkins ] && rm -rf jenkins
mkdir jenkins
rake db:schema:load > jenkins/schema_load.txt
bundle install > jenkins/bundler.txt
echo Rspec results available at http://example.com/job/Ducky-develop/ws/jenkins/rspec.html
rake rspec_html > jenkins/rspec.html
echo Cucumber results available at http://example.com/job/Ducky-develop/ws/jenkins/cucumber.html
CUCUMBER_FORMAT=html rake cucumber > jenkins/cucumber.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment