Get artifacts via TeamCity's WebService
Hi,
We would like to implement the following scenario, write a small .exe that will:
- Connect to TeamCity web service and get the latest successful build number and detect if there are pending changes, just a bool flag, of a specific build configuration
- Get a specific artifact, by its file name to a specific local folder
Is it possible to achieve? If yes, please guide me through the appropriate API/web service commands.
PS: it will be a .NET application.
Best Regards,
Alex
Please sign in to leave a comment.
There are two .NET APIs available under the Remote APIs category on the plugins page: http://confluence.jetbrains.net/display/TW/TeamCity+Plugins
We created a tool like that for use in our office. We used Sharp2City for ours, I'm not sure if you can check for pending changes or not via it. We didn't need that functionality in our tool so I didn't bother to check.
Thank you, Sharp2City works great. We chosed this one.