As you all know, I moved to teamcity for my nightly and continuous builds. Now I have also done the same for the deployment builds. My deployment builds are not yet continuous but I’m just 5 seconds away from them.
My work flow is very simple for deployment builds.
run unittests on debug build
Rebuild release build
Copy to deployment folder and let the updater do it’s work.
As you can see items 1 and 2 are the same as a nightly build. So I would prefer to use the same configuration for that. Number 4 is a little complex but very easy to do in Finalbuilder. So I want ot run that script for it.
So I already have steps 1 and 2 defined somewhere, and all I need to do is use those. In Teamcity this means creating a template from the first one and inheriting the second one from this template. It’s all explained in the docs so you can read them.
For step 3 you only need to create a new configuration that only has the runner defined and that has a “Build dependency trigger” on the configuration of step 1 and 2.
For step 4 we use another configuration that also has a “Build dependency trigger” but this time on the configuration in step 3.
This configuration also only has the runner defined. Like this.
And as you can see this script has a few steps in it.
Now I just have to run Release software build and the other 2 steps will be run one after the other.
To make this continuous I just have to add a VCS trigger to that configuration and it will be done. But for now I do not see a reason to that yet.
Only 5 more posts untill the 250th and final post.