How do I execute a command on a successful build on TFS2010?
Posted
by Simon_Weaver
on Stack Overflow
See other posts from Stack Overflow
or by Simon_Weaver
Published on 2010-04-14T23:49:45Z
Indexed on
2010/04/14
23:53 UTC
Read the original article
Hit count: 478
I've got TFS2010 up and running and building a webdeploy
deployment package.
Into my directory:
C:\TFS-BUILDS\Example Build\Example Build_20100414.44\_PublishedWebsites
I get the following two directories:
WebsiteName
WebsiteName_Package
All I want to do is run the following command on a successful build - to deploy the site:
WebsiteName_Package\WebsiteName.deploy /Y
How can I customize the build process template to actually run that package? Under TFS 2010 you have to use the process templates (no more TFSBuild.csproj stuff).
I've tried duplicating the DefaultProcessTemplate.xaml
file, but it basically kills my Visual Studio when I open it.
How can I edit the .xaml by hand to run this simple command on a successful build
© Stack Overflow or respective owner