gpt4 book ai didi

macos - 如何在 macOS TeamCity 代理上运行 Quamotion 测试

转载 作者:行者123 更新时间:2023-11-28 20:50:35 26 4
gpt4 key购买 nike

我正在尝试将 Quamotion 集成到我们的 TeamCity 平台中,以便我们可以在我们的 CI 流程中测试移动应用。

我已按照 in the Quamotion documentation 中描述的步骤进行操作.

已添加 Build-Steps 和 Build-Feature,但我在我们的代理上看到一个错误:

  • 不兼容的运行器:PowerShell
  • 未满足的要求:存在=>(powershell_x86|powershell_x64) 存在

PowerShell 已经安装在我们的构建服务器上,我们可以毫无错误地运行 Quamotion:我可以看到连接到我的构建服务器的移动设备,安装应用程序,运行测试,...。我已尝试重新启动并重新安装代理,但也没有解决问题。

有什么我遗漏的吗?

最佳答案

这听起来像是您的 TeamCity 代理上没有安装 PowerShell 核心,或者您没有使用最新版本的 TeamCity。

要检查是否已安装 PowerShell Core,请在您的代理上打开终端并运行 pwsh。如果打开 PowerShell 终端,则 PowerShell Core 已正确安装。

据我所知,对 PowerShell Core 的支持已添加到 TeamCity 2017.2.2。您能确定您使用的是 TeamCity 2017.2.2 或更高版本吗?

关于macos - 如何在 macOS TeamCity 代理上运行 Quamotion 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48888429/

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