Skip to content

Instantly share code, notes, and snippets.

@searls
Created September 9, 2011 15:43
Show Gist options
  • Save searls/1206556 to your computer and use it in GitHub Desktop.
Save searls/1206556 to your computer and use it in GitHub Desktop.
example jenkins setup instructions

Setting up Jenkins

  1. Download

  2. Invoke the .war file (in OS X, double-click it; in *NIX/Windows run java -jar jenkins.war)

  3. Visit Jenkins at http://localhost:8080

  4. Add some plugin fun:

a. AnsiColor b. Git c. Github Authentication plugin d. Github plugin

  1. Set up a build

a. Under Source Code Management choose "Git": * URL "https://github.com/searls/jasmine-headless-webkit-rails-skeleton.git" * Branches: master

b. Build Triggers -> check "Build when a change is pushed to Github"

c. Build Environment -> Check "Color ANSI.."

d. Build -> Add Build Step -> Execute Shell

  source /Users/justin/.profile &> /dev/null

  bundle install
  bundle exec jasmine-headless-webkit --color --keep

e. Click Save

  1. Back on the project page, click "Build Now"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment