【问题标题】:TeamCity not showing service messages with powershellTeamCity 未使用 powershell 显示服务消息
【发布时间】:2013-04-02 16:11:16
【问题描述】:

我正在使用 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

我错了这些应该显示在项目状态中,而不是仅仅“运行”?

【问题讨论】:

    标签: powershell teamcity psake


    【解决方案1】:

    生成的消息中有错字。我刚刚创建了带有修复的拉取请求。 https://github.com/JamesKovacs/psake-contrib/pull/1

    【讨论】:

    • 不敢相信我没看到……真可惜!
    • 我在 2 年前遇到了同样的问题,但我只修复了一条消息,并且有两条消息的错字相同。所以我现在很容易找到它。 :)
    猜你喜欢
    • 2019-09-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-21
    • 2019-07-05
    • 1970-01-01
    • 2022-06-11
    • 1970-01-01
    相关资源
    最近更新 更多