简体   繁体   中英

Creating a TFS Custom Build Process (TFS2013)

My group is trying to move over to TFS from our custom-coded build process. Unfortunately, I'm new to TFS build processes and as I dig deeper into creating custom build processes, the more I realize I don't know how to do some basic things. Can anyone help me with the following?

Due to our need to often patch older releases for various customers unable/unwilling to move to newer releases, we're using a branch-for-release model, with programmers committing to the trunk, and a branch created whenever we need to release. That way we can patch an older release should there be any problems.

So I need to do the following:

On queuing a build, input parameters so that we can define versioning, branch name, and information to include.

Programatically branch the trunk and build from that branch.

Any thoughts on the matter? I'm beginning to think the branch-on-release strategy doesnt work well with TFS, so if anyone has a good idea on how to set up the process such that we can make regular releases, but still patch older releases, I'm all ears.

Thanks

Not sure exactly what you're trying to do, but I see two scenarios:

  1. You build from trunk, and branch for safekeeping from each release. In which case I see no problems.

  2. You branch for each release and build from that branch. In which case I would suggest creating a new build definition for each branch (but reusing the custom build process template).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM