msbuild - How to chain TFS builds? -
I have a scenario where I want to call a TFS build second, build first and the second one Does scaffolding This will allow me to do more than one custom staging for the same solution.
I know, I can turn it off with an ADish work in the second build and call tfsbuild.exe for build queue from the first build definition. . But what was thinking that someone knows better?
It depends on what you are trying to do. / P>
1) Do you want build + staging to run as an operation? So that you end up with a consolidated build report, a log file, a job in the server's build queue, executed by the same build agent executed by the previous step, each step executed sequentially?
If so, then you are basically on the right track. I & lt; Exec will not be out of tfsbuild.exe though - there are many overheads to run a whole new building, and I'm not sure what the potential side effects are. Instead, I define your Staging script (S) To execute MSBULD tasks,
& lt; The call will use the
task. 2) Do you really want to "build build"? A different "staging build" queue? Separate reports, log files, & amp; Spot in the queue?
If so, then:
- Create a new build definitions for staging
- Add some code in your basic build definition that the Team Build API Using [one / many] queues of new build definitions. .
- Do not remove anything related to the original build from the original build definition
- Make sure the new "staging" definitions include an automatic trigger (time interval, checkin event, etc.)
Comments
Post a Comment