One of the new tasks available in Team Build Orcas (VS 2008) is the SetBuildProperties task. This task allows you to modify any of the settable properties of a BuildDetail object directly from you MSBuild script (TfsBuild.proj). The settable properties include:
Using the task is pretty simple - just specify the TeamFoundationServerUrl and BuildUri that identify the BuildDetail to be modified and set the desired properties to their new values. For example, to set the log location for a build to a URL, rather than the typical UNC path, you might do something like the following:
After this change, the link to the log file in the build report for this build will show the new URL, rather than the default UNC path.