I have a TFS project set up for continuous integration. My problem is that checkins on other TFS projects are triggering builds of my project even when no change has been made to my project.
It seems to be related to my project being a Team Foundation Git repository, and none of the other projects are.
Where can I look to find out what's triggering this build?
Edit: To be more clear, what I mean is that I have entirely separate Team Projects. All of them but one use Team Foundation Version Control except one which uses Git. Somehow, checkins on the TFVC Team Projects trigger a build on the Git Team Project
In our case, this was identified as a bug in TFS by Microsoft.
The ServerItem column in tbl_BuildDefinitionMapping for the appropriate build was set to "$\".
The fix I got from Microsoft was to change that to something that doesn't exist like:
$\GIT_NOTAFOLDER\
This resolved the issue for me.
You need to look up the build definition in tbl_builddefinition. Once you ave found it, remember the DataspaceId.
Then open tbl_builddefinitionmapping and look for the DataspaceId from above. You should see that the ServerItem is $\. Change this to $\GIT_NOTAFOLDER\ and it should resolve the issue.