This is my buildmaster plan:
##AH:UseTextMode
Capture-HtmlDirectoryReport
(
FromDirectory: /tmp/buildmaster/html-report,
Index: index.html,
Name: GaugeReport
);
And this all the log output:
INFO: Capturing "GaugeReport" report into current build...
DEBUG: Using SshAgent agent on server-A
DEBUG: Attaching report from files in directory: /tmp/buildmaster/html-report
ERROR: Unhandled exception: System.NotSupportedException: The SshAgent agent does not support the IRemoteMethodExecuter interface.
at Inedo.Extensibility.Agents.Agent.GetServiceTService
at Inedo.BuildMaster.Extensibility.Operations.Reporting.ReportFromDirectoryOperation.<GetReportBase64Async>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.BuildMaster.Extensibility.Operations.Reporting.ReportFromDirectoryOperation.<ExecuteAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.BuildMasterExecuter.<ExecuteActionAsync>d__44.MoveNext()
DEBUG: Cleaning up...
DEBUG: Deleting /tmp/buildmaster/_E2077 on server-A...
DEBUG: /tmp/buildmaster/_E2077 on server-A deleted.
DEBUG: Cleanup complete.