Skip to content

Blargel/hudson-remote-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%