Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 674 Bytes

README.md

File metadata and controls

43 lines (25 loc) · 674 Bytes

bamboo-client

Ruby clients for Bamboo's REST APIs:

Example

client = Bamboo::Client.for(:rest, "http://bamboo.example.com/")
client.login(user, pass) # required for some API calls

project = client.projects.first
project.key
project.url

plan = project.plans.first
plan.key
plan.enabled?

plan.queue unless plan.building?
sleep 1 until plan.building?
sleep 1 while plan.building?

result = plan.results.first
result.key
result.successful?
result.start_time
result.completed_time
result.state
# etc