-
Notifications
You must be signed in to change notification settings - Fork 55
integrate with TFS MSBuildLogger #41
Comments
Will need to add support to FAKE for
|
Here I've got an example of what the distributed logger configuration strings look like coming out of some pending changes to FAKE I'm working on. I think this gets up most of the way there, but one potential worry is the syntax mentioned above. I'm not enforcing that as part of the MSBuildDistributedLoggerConfig type, but we may want to. |
The standard TFS 2013 builds have this for the
The params are separated by semicolons. |
Here is the code I'm using to create the distributed logger based on your FAKE fork.
|
The DistributedLogger FAKE pull request is: fsprojects/FAKE#536 |
@baronfel Did you get this working with TFS On-Premise or Visual Studio Online? I'm curious if we should add more to SourceLink to make this easier. Do you have any final setups that can be shared? |
I sort of left this hanging. I have BuildTools building on TFS from FAKE now, so let me look into getting that configured using the DistributedLoggers above. I could see a place for SourceLink.Fake or SourceLink.TFS to make getting the painful parts of that configuration, like the tfsUrl, InformationNodeId, etc. more automatic. Because honestly, no one wants to write all of that. Maybe the default members should be as above...? |
So I'm marking this as done, but the common code could definitely be moved into this project. |
Hey, I think we need to reopen this to answer a couple questions.
|
|
TFS uses
Microsoft.TeamFoundation.Build.Server.Logger.dll
to log build information to it's summary. The exact command used can be logged by printing the msbuild command line from the proj file like so:An example from VisualStudio Online:
PSake did this integration in 2013 and documented it in Using TFS with the WorkflowCentralLogger, PowerShell and PSAKE.
Adding the MSBuildLogger is similar to what is done for both AppVeyor and TeamCity in MSBuildHelper.fs.
The text was updated successfully, but these errors were encountered: