0

We have a solution that is built and tested automatically by TFS after every check-in.

Is there a way i can get any build information programatically while the TFS is executing the integration tests?

For example: if a test fails, i need to know who requested the build to notify him via email with attached custom log files that my tests are creating.

Dylan Smith
  • 22,069
  • 2
  • 47
  • 62
Shonn Lyga
  • 109
  • 2
  • 8

1 Answers1

2

You can setup Alerts to automatically receive an email if a build fails (the email includes more details about the build). In Visual Studio go to the Team Menu -> Project Alerts.

Dylan Smith
  • 22,069
  • 2
  • 47
  • 62
  • thank you. Well the built in TFS alerts are not enough for me. My integration tests are building some custom log files and must send them to the person who broke the build. I see no way attaching the custom logs to the basic TFS alerts. – Shonn Lyga Jun 18 '14 at 06:44
  • Who triggered the build is shown in the build summary. If you build after check in, it will be that person. A bug will be raised. Devs should subscribe to their own builds, they will then know the outcome of their change. The email will have the drop folder linked. Put your output logs in there – Just TFS Jun 20 '14 at 20:31
  • The team is mostly working from home and have no easy access to the drop directory. That is why i need to attach a custom mail with logs attached. Perhaps what i am asking for is possible with environmental variables? – Shonn Lyga Jun 22 '14 at 06:58