teamcity-ruby-client icon indicating copy to clipboard operation
teamcity-ruby-client copied to clipboard

Add API for Build Queues

Open pgremo opened this issue 11 years ago • 8 comments

TC 8 now supports an api for build queues http://confluence.jetbrains.com/display/TCD8/REST+API#RESTAPI-QueuedBuilds

pgremo avatar May 11 '14 20:05 pgremo

I'll try and get to it this week. Otherwise feel free to send me a PR.

jperry avatar May 19 '14 14:05 jperry

Any progress on this one? Would be much appreciated!

fwise avatar Sep 10 '14 18:09 fwise

Hi Frank,

I'll try and have a look this week or open a pull request and I'll merge it then release.

Thanks, -- Jay

On Sep 10, 2014, at 2:08 PM, Frank Wise [email protected] wrote:

Any progress on this one? Would be much appreciated!

— Reply to this email directly or view it on GitHub.

jperry avatar Sep 10 '14 20:09 jperry

Hey @fwise - any chance of you submitting a PR for this? It's pretty easy to add something, just look at the other methods available. I've been super busy with my day job. Thanks!

jperry avatar Jan 02 '15 13:01 jperry

Any movement on this? I've made modifications locally to get queued builds, but would love it if it were part of the gem.

ryanwhitcomb avatar Jul 24 '15 14:07 ryanwhitcomb

@ryanwhitcomb - I have been swamped with my day job. Any chance you can send in a pull request with what you did and I'll merge it so we have it in the gem.

jperry avatar Jul 24 '15 16:07 jperry

@jperry - It's somewhat incomplete and I noticed that I'm not handling error responses very well right now, so it's a bit half-baked. I need to handle the error and return null if nothing came back. It was reassuring to hear from you. I will work on it and submit a pull request when it's more complete. Thanks!

ryanwhitcomb avatar Jul 24 '15 17:07 ryanwhitcomb

@jperry - Ok, I added pull request #49 which I believe addresses all of the possible input except maybe queueing a build using this endpoint.

ryanwhitcomb avatar Jul 24 '15 22:07 ryanwhitcomb