TeamCity没有使用PowerShell显示服务消息

时间:2013-04-01 14:49:00

标签: powershell teamcity psake

我正在使用powershell / psake运行项目配置,而我正在使用TeamCity powershell模块(https://github.com/JamesKovacs/psake-contrib/wiki/teamcity.psm1)但TeamCity仅将配置显示为“正在运行”

enter image description here

但是,构建日志会清楚地显示所有服务消息:

[15:41:34]WARNING: Some imported command names include unapproved verbs which might make 
[15:41:34]them less discoverable.  Use the Verbose parameter for more detail or type 
[15:41:34]Get-Verb to see the list of approved verbs.
[15:41:34]##teamcity[progessMessage 'Running task Clean']
[15:41:34]Executing Clean
[15:41:34]running the build
[15:41:34]##teamcity[progessMessage 'Running task Build']
[15:41:34]Executing Build

我错了,这些应该出现在项目状态而不仅仅是“正在运行”?

1 个答案:

答案 0 :(得分:2)

生成的消息中是拼写错误。我刚刚修复了pull请求。 https://github.com/JamesKovacs/psake-contrib/pull/1