【问题标题】:Is it possible to write build message from powershellscript?是否可以从 powershell 脚本编写构建消息?
【发布时间】:2015-06-04 14:18:02
【问题描述】:

如果我有一个 TFS 的构建模板,并且在构建后脚本行的这个模板中我调用了一个 powershell 脚本,有没有办法将这个 PS 脚本的输出传输到构建日志?

【问题讨论】:

    标签: powershell msbuild tfsbuild


    【解决方案1】:

    您可以使用“invokeprocess”工作流活动来调用 powershell 并将 stdOutput 和 errOutput 写入构建日志。

    【讨论】:

      猜你喜欢
      • 2011-07-13
      • 1970-01-01
      • 2013-07-06
      • 1970-01-01
      • 1970-01-01
      • 2012-01-19
      • 2017-01-18
      • 2020-07-23
      相关资源
      最近更新 更多