Creating a build process template which does nothing but copy all files to another directory

后端 未结 3 1075
清歌不尽
清歌不尽 2021-01-23 22:16

I would like to create a Build Definition inside TFS 2012 Express which will simply copy all files within my project source tree to another folder on my drive. Just to underline

3条回答
  •  花落未央
    2021-01-23 22:55

    I actually put something together for TFS2010 and 2013 (not 2012, unfortunately) a few weeks ago that does exactly that. Basically, anything in the workspace you define for your build just gets shoved over to the drop location.

    Here's a link to the blog post where you can download them:

    http://www.incyclesoftware.com/2014/06/deploying-uncompiled-resources-release-management/

    For the record, I strongly recommend against using a build process template to deploy software. Don't try to overextend the build... its job is taking stuff from source control and compiling/packaging it for deployment. Use a real release management solution to actually handle deploying software.

提交回复
热议问题