user3323814
user3323814

Reputation: 1

build latest sources with a changeset in tfs

I want to get the changeset of last good build of a given build definition and then build for that changeset. Is there any way to achieve this by modifying the defaultTemplate? Maybe I can use an In Argument to pass the build definition name to the build process template. Any help/direction/insight is appreciated. Thanks. :)

Upvotes: 0

Views: 141

Answers (2)

Daniel Morritt
Daniel Morritt

Reputation: 1817

In the default template there's an argument "GetVersion" under advanced you can specify a changeset to build.

According to the description this just overrides the iBuildDetail.SourceGetVersion.

Upvotes: 0

Dylan Smith
Dylan Smith

Reputation: 22235

Not sure what you mean by "Latest Sources plus a Changeset", Latest Sources by definition includes all changesets.

Upvotes: 3

Related Questions