kirikak2 / hudson-remote-api

Ruby interface to Hudson's remote xml API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Ruby interface to Hudson's remote xml API

License:MIT License


Languages

Language:Ruby 100.0%