简体   繁体   中英

Continuous Deployment with TeamCity

I recently set up a CI server in TeamCity and now want to take it to the next step, continuous deployment. Basically, we host a suite of restful services and about 3 web applications for each one of our customers. All customers get 3 environments QA, UAT and Prod. We want to be able to automatically deploy our builds once our tests pass. I'm not looking for custom scripting options to do this. I've seen plenty of those of SO. What we're looking for is a solutions like UDeploy but at a lower price point. Is anyone aware of alternatives to UDeploy? Or other Continuous Deployment plugins that work with TeamCity?

Thanks,

I agree with @Niklas Ringdahl -- I think you're thinking about it wrong.

You can deploy directly from TeamCity using MS WebDeploy .

See Troy Hunt's excellent blog series about this:

Part 1: Config transforms

Part 2: MS Build and deployable packages

Part 3: Publishing with WebDeploy

Part 4: Continuous builds with TeamCity

Part 5: WebDeploy with TeamCity

If this is .net you should look at Octopus, it now works nicely with TeamCity.

http://www.octopusdeploy.com/

http://www.paulstovell.com/octopus/octopus-octopack-and-teamcity

I don't know if there's any part of this I don't understand, but I would use TeamCity for that also.

If you have a build configuration to manage your tests, you can easily create configurations for deploy, which are triggered by the success of the test configuration. We handle lots of our deploys that way.

Again, sorry if I'm missing something here...

EDIT :

A build configuration in TeamCity can be triggered when another configuration is successfully built: Build triggering in JetBrains documentation (Look at "Finish Build trigger")

Or you could use one build configuration with many "Build steps": Build steps in JetBrains documentation

Each step is run in order, and only if the previous step is successful.

Another alternative: RedGate has recently updated pricing on their Deployment manager tool: http://www.red-gate.com/delivery/deployment-manager/

If you have 5 projects or less, the tool appears to be free.

我对Nolio ASAP很熟悉,但对其定价一无所知: http ://www.noliosoft.com/product/nolio-automation-center

As a developer for the product, I'll add BuildMaster to the list of options here. Basically, you can run a basic tutorial to get started deploying from TeamCity ( http://inedo.com/buildmaster/extensions/teamcity ), then customize your deployment plans to any further environments as needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM