jenkinsci/tfs-plugin — pull request #17 by olivierdagenais (2013-10-23 14:31:22+00:00)
Title: Switch to TFS SDK and use it for obtaining detailed changeset info

`Project.getDetailedHistory()` no longer launches the `tf` CLC but instead uses the [TFS SDK for Java](http://www.microsoft.com/en-us/download/details.aspx?id=22616) to communicate with the TFS webservices directly. This gives us richer information (such as e-mail addresses) with less string parsing.

Manual testing:
1. Create a job that uses the TFS SCM and run it.
2. Wait until lots of users make check-ins, especially users where their domain username doesn't directly map to their e-mail address (i.e. `EXAMPLE\ljenkins` does not imply their e-mail address is `ljenkins@example.com` since it could be `leeroy.jenkins@example.com`).
3. Run the job again.
4. Inspect the run's "changes" and notice that full names are displayed, and clicking through them will [eventually] show their e-mail addresses. The latter can also be confirmed by browsing Jenkins' `users/` sub-folder and noticing all the committers now have Jenkins users with their full name and e-mail address as configured in TFS.

Mission accomplished!