禁止TeamCity报告构建步骤顺序

时间:2017-01-25 15:46:40

标签: powershell logging teamcity psake

关于TeamCity buildlog for a single build stepCan I format powershell output into collapsible Tree View in TeamCity logs?所涵盖的类似主题,我们有一个由PSake驱动的大型构建管道,它有很多设置任务。每个任务都使用

格式化
write-host "##teamcity[progressStart '<message>']"    
write-host "##teamcity[progressFinish '<message>']"

但是当此任务仍由TeamCity构建步骤包装时,它会将所有日志放入带有标签Step 1/1: Run build (Command Line) (time elaped)的可折叠段落中,因此它会在构建日志中的每个后续行前加[Step 1/1]作为前缀对格式化产生不良后果。

有没有办法禁止TeamCity这种行为?

0 个答案:

没有答案