Automated publishing using Teamcity
I'm a newbie to configuration management and I'm required to implement a solution wherein I need to publish a new version of my Windows 开发者_StackOverflow社区application on shared Network drive using Teamcity's Trigger. We already have a continuous integration Teamcity server which is used for continuos build integration. Is it possible to publish a new version everytime along with the build using MSBUILD or something?
Thank you so much for reading.
Absolutely. I believe you already have a Build/Compile
MSBuild target.
So now you can create Deploy.targets
which simply executes a <Copy>
MSBuild Task.
InputFiles
attribute specifies files which are produced by Build/Compile
target and OutputFiles
would be the destination network folder path.
After that you have to make Deploy target to be dependent on Build target by specifying DependsOn="Build"
精彩评论