我正在使用powershell / psake运行项目配置,并且正在使用TeamCity powershell模块(https://github.com/JamesKovacs/psake-contrib/wiki/teamcity.psm1),但TeamCity仅将配置显示为“正在运行”
但是,构建日志清楚地显示了所有服务消息:
[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
我是否应该将这些错误显示在项目状态中,而不仅仅是“运行中”?
最佳答案
在生成的消息中是错字。我刚刚创建了带有修复的请求。 https://github.com/JamesKovacs/psake-contrib/pull/1
关于powershell - TeamCity不显示带有Powershell的服务消息,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15745657/