Right now, I am pulling in the list of file changes from the file in the build agent, during the build. I do this, because I am running some code checks on new files. If a file fails one of the code checks, I want to be able to know which bug it relates to so I can an email containing the bug number. We use Bugzilla for our bug software.
Is there anyway for me to know the bugs involved in the build, during the build? Can I find a file on the file list and know which bug it relates to?