我正在尝试使用 az devops 扩展 cli 来自动化 azure 构建和发布管道。我能够创建并运行构建管道。但仅使用cli无法创建发布管道。
微软文档根本没有帮助。
最佳答案
Is there a way to create and release azure release pipeline using only az pipelines cli?
恐怕我们可以仅使用 az pipelines cli 创建 azure 发布管道,但无法发布它。
如文档az pipelines ,我们可以通过命令行创建azure发布管道:
az pipelines release create
检查az pipelines release了解更多详细信息。
但是我们无法仅使用 az pipelines cli 来发布 azure 发布管道,因为没有这样的命令行可供使用。还有az pipelines runs仍然无法发布。
希望这有帮助。
关于azure-devops - 有没有办法仅使用 az pipelines cli 创建和发布 azure 发布管道?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58693476/