Skip to content
Ruby interface to Hudson's remote xml API
Ruby
Pull request Compare This branch is 125 commits behind Druwerd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
LICENSE
README
Rakefile
VERSION
hudson-remote-api.gemspec

README

hudson-remote-api is ruby library to talk to Hudson's xml remote access api

Usage:

require 'hudson-remote-api'

# Auto Configuration sets Hudson[:url]
Hudson.auto_config

# Manual Configuration
Hudson[:url] = 'http://localhost:8080'
Hudson[:user] = 'hudson'
Hudson[:password] = 'password'

# List all Hudson jobs
Hudson::Job.list

# List all active Hudson jobs
Hudson::Job.list_active

# print the last build number of a job
j = Hudson::Job.new('jobname')
puts j.last_build
Something went wrong with that request. Please try again.