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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes with tests(
git commit -am 'Add some feature') - Run the tests(
bundle exec rake) - Push to the branch (
git push origin my-new-feature) - 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