【发布时间】:2020-01-05 10:59:52
【问题描述】:
我想将字符串消息写入 TFS 构建摘要。我有一个带有变量的 Powershell 任务
$output = $(Build.SourcesDirectory)\scripts\SCRIPT_NAME.ps1
$output
持有
=====
Numb. of files for patch in:
Win32 = 2
Win64 = 123
---
Numb. of original files:
Win32 = 0
Win64 = 12
=====
该方案是一条完整的消息,现在我只想将其显示在点下方的图片或任何其他部分中,只要它在“摘要”中即可 我查看了this Stack 问题,但它回答了如何显示文件的超链接。我想专门显示字符串而不是包含我要打印的文件的链接。另外我提到了Microsoft docs,但我还没有找到我要找的东西
【问题讨论】:
标签: powershell tfs tfsbuild