TeamCity Build Trigger for Release
We would like to invoke TeamCity build process for automation, for example if I have 2 build project and somehow if I can invoke this without UI. After that I would like to copy build output and release for testing.
Please can anyone advice if there is any automated way to trigger build without using UI.
Thanks.
Please sign in to leave a comment.
Hi,
Since TeamCity 8.1 you can trigger a build using REAT API, in earlier versions you can trigger a build from script using HTTP requests.
Thanks for reply however any plugin or command line will better, where we can track down status after completion,
I am not sure if TeamCity has build this feature, as we are moving towards full automation using incremental deployment and test.
We do not have such kind of plugin.
Using REST API you can also get the status of build - the request to the queued build (/app/rest/buildQueue/XXX) will return running/finished build data.
You can configure one more build configuration to perform deployment and setup Finish build trigger. How to configure it is described here.