gnm-jenkins_cap

Adds Jenkins tasks to Capistrano.

Installation

$ gem install gnm-jenkins_cap

Include in your Capfile

require 'rubygems'
require 'gnm-jenkins_cap'

Usage

In your deploy.rb

set :jenkins_host, "http://jenkins.example.com"
set :jenkins_job_name, "mybuild"

before 'deploy', 'jenkins_cap:build_check' # check if the revision has been built by Jenkins successfully

Contributing to gnm-jenkins_cap

Copyright © 2012 Gorilla Nation Media. See LICENSE.txt for further details.