Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
无论如何,从测试后 PowerShell 脚本构建失败?
我尝试在 PS 脚本中抛出异常,但它不会使构建失败。
Actually you need to return a value lower than 0. Try exit -1
exit -1