Hello,
we use FinalBuilder on top on Microsoft Team Foundation Version Control.
Related to that I have the following question:
Is there an action item or task analogous to the Team System GenCheckinNotesUpdateWorkItems Task?
This Team Build Task gets a list of all changesets and related workitems affected by a build. It also closes work items attached to that changesets.
This task is called as part of a Team Build Build job.
Thank you in Advance
Regards
Rolf
Hi Rolf,
There is currently no way to automatically generate this list, but it looks like the GenCheckinNotesUpdateWorkItems task could possibly be called directly from MSBuild inside FinalBuilder.
I’ll look into a project implementation for this and let you know if I come up with a solution.
Regards,
Angus
Hi Rolf,
I’ve investigated a bit, and it doesn’t look like you can call GenCheckinNotes… from MSBuild without using a full-blown TFS Build project.
You can either use the Work Item & Source Control actions to emulate GenCheckinNotes…, or (better solution) run FinalBuilder as part of a TFSBuild job which will then call GenCheckinNotes itself.
See this article for details: https://www.finalbuilder.com/articles.aspx?mid=370&ctl=ArticleView&articleId=20
Hth.
- Angus
Hello Angus,
thank you very much for your prompt response and your investigations. OK, it seems that there is not an easy solution for that.
An FinalBuilder Action Type which provides the functionality of TeamBuild Task GenCheckInNotesUpdateWorkItems would be an intesting thing.
Maybe a hint for your developement staff.
Because getting this list of changesets and related work items affected by a build is a very nice feature of TeamBuild.
An interesting description of the functionality of that Task you find in the following blog:
http://blogs.msdn.com/manishagarwal/archive/2006/01/25/517282.aspx
But Thank you again
Regards
Rolf
Hi Rolf,
Thanks for that note. It’s definitely possible that we can put some similar functionality in a future build. I’ve added it to our to-do list to investigate.
Regards,
Angus
Hello Angus,
We have investigated further this problem and it seems that it is not so easy to call the GenCheckinNotesUpdateWorkItems task from code. For our problem we found a solution which I described here:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1198541&SiteID=1
Hope that this is a interesting hint for you.
Regards
Rolf
Hi Rolf,
That looks like a great solution. I’m glad you got it working OK.
- Angus