TeamcityRuby

TeamcityRuby is an abstraction layer for the TeamCity API. It does not simply wrap TeamCity API functionality, it adds some sugar on top of it. Be aware of the difference between Abstraction vs Wrapping and the tradeoffs related to them reading what makes a good api wrapper by @pengwynn

If you want an implementation that lean more to a simple wrapper take a look into teamcity-ruby-client by @jperry

Installation

Add this line to your application's Gemfile:

gem 'teamcity_ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install teamcity_ruby

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes with tests(git commit -am 'Add some feature')
  4. Run the tests(bundle exec rake)
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

If your changes involve talking with the API in a new or different way, you perhaps will need to remove the affected HTTP interactions from spec/cassetes and record them again. The tests assume that TeamCity is running on localhost at the port 8111 and that user teamcity and password teamcity are valid admin credentials. If you want to spin up a TeamCity instance quickly with Vagrant, checkout my ansible_teamcity project