What other HTTP functionality can be done against TeamCity server?

Afternoon All,

On this page http://www.jetbrains.net/confluence/display/TCD4/Accessing+Server+by+HTTP , there are examples on how to trigger builds.  This functionality is built in to TC.  Things like '

add2Queue', 'agentDetails.html?id=2' are nice to use.

Are there other things that can be done via HTTP?

Is there a place I can poke around in to see what's there?

Thanks for your time.

Dave

            
2 comments
Comment actions Permalink

Hello Dave,

  Unfortunately, we don't have well-structured open HTTP API to TeamCity. If you ask what specific functionality would you like to use, we can say whether it is feasible or not. In fact, you can write an plugin to TeamCity which would expose any necessary API for your needs. Please see some details at

  http://www.jetbrains.net/confluence/display/TCD4/Web+UI+Extensions

  Hope this helps,
  KIR

0
Comment actions Permalink

This is what I was expecting.  My goal is to be able to create what we call a 'suite' build.  This build is the 'grand daddy' of all the builds.  When triggered it will check all it's dependant builds (modules) to see if they are in need of a build, build it, and when all finished gather together all module install artifacts into one installable package.  We currently have about 68 different modules to this suite.  I know I can use dependent builds to make this all happen, but we've gotten used to building individual pieces without triggering other parts of the process - for testing purposes.  I also don't want build to be running all day, which isn't a bad thing, but in this particular situation it is a hindrance.

I was asking to see if the HTTP interface can check the following build attributes:
1) Does a build have changes that warrants a build
2) Is the build currently running

What I'm expecting to do is create a 'suite' build runner that will take the information and build accordingly.  I had to do this with our current TFS build definitions using a custom build tasks, but I need to have 'external' access to TeamCity to 'ask' these questions.  So, the build runner should give me 'internal' access to the server to give me the information I need to trigger what needs to be triggered and check for completion/failure before moving on or failing the suite build.

Thanks for your time.

Dave

0

Please sign in to leave a comment.