gpt4 book ai didi

powershell - TeamCity 未使用 powershell 显示服务消息

转载 作者:行者123 更新时间:2023-12-02 23:47:27 27 4
gpt4 key购买 nike

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

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

最佳答案

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

关于powershell - TeamCity 未使用 powershell 显示服务消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15745657/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com