Automating the Creation of Build / Deploy Configurations
My real question: Is there a way to create a new build configurations from a template using the Rest API?
What I am trying to do is automate creating the Build Configurations as well as all the steps to deploying to various environments, rather than creating each one seperatly. When I create a service that needs to be deployed I have to create a build for it in services > create a build for it in build packaging to be able to deploy > create a promote, deploy, and archive build for each enviroment we have. As you can see thats a lot of manual creation for one service. I would like to automate this.
Thanks!
Please sign in to leave a comment.
hi
Looks like you need this part:
Create build configuration step: POST http://teamcity:8111/httpAuth/app/rest/buildTypes/<buildTypeLocator>/steps The XML posted is the same as retrieved by GET request
from the full API doc: http://confluence.jetbrains.net/display/TW/REST+API+Plugin#RESTAPIPlugin-BuildConfigurationAndTemplateSettings
I am interested in automated deployments using teamcity. what kind of software are you deploying?