给定现有的YAML,Azure DevOps通过REST API创建生成定义 [英] Azure DevOps create build definition via REST API given existing YAML

查看:69
本文介绍了给定现有的YAML,Azure DevOps通过REST API创建生成定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个现有的Git存储库中有100多个YAML文件,每个文件都定义了自己的构建管道.我正在尝试创建一个PowerShell脚本来创建这些构建定义,因此我不必花费数小时使用Web UI来手动添加新的构建定义并指向它们各自的YAML文件.

I have over 100 YAML files within an existing Git repo, each defining their own build pipeline. I am trying to create a PowerShell script to create these build definitions so I don't have to spend hours using the web UI to manually add new build definitions and point to their respective YAML files.

我遇到了类似的问题和资源,但是无法使该脚本正常工作.

I've come across similar questions and resources, but haven't been able to get this script to work.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆