views:

213

answers:

1

I have a teamcity (4.something) install that creates .wsp file for deployment to sharepoint. Currently I have to copy the wsp out of the build artifacts directory and into a little deploy folder I have created. In the folder I run a .bat that deploys the new .wsp to our test server. What steps can I take to automate this?

Either copy the .bat into the artifacts folder and update the paths etc or copy from the artifacts folder into the 'deploy' folder and run the .bat from there.

I am a neophyte when it comes to the intricacies (or basics!) of MSBuild and the like... so hand holding is appreciated!

Thanks

+1  A: 

I've done this by creating a nant task, and then having TeamCity execute the nant task. It's more of a pain than it should be. You should be able to do the same as a post-build event with MSBuild.

Jarrett Meyer