Open Cadacious opened 4 years ago
Would be nice to have. Resorting to calling the REST API for now. https://learn.microsoft.com/en-us/rest/api/azure/devops/release/definitions/create?view=azure-devops-rest-6.0&tabs=HTTP
Are there any updates on this? It has been 4 years since user reported this. I am also interested in this feature...
It seems currently the Microsoft supported way of updating release pipeline definitions is to manually update each one by hand... Which is very error prone
This is puzzling because if you have even a small number of pipelines, it ends up requiring literally, thousands of clicks. That combined with cloning having bugs with missing fields...
This is with the GUI release pipeline. Which, despite Microsoft recommending to move to yaml for them, there's just no way. There's still so many basic features that yaml is missing that corporate environments find non starters.
The situation is troublesome to deal with because when a basic change(such as adding a user to approvals) of switching release approvals or flows, requires updating every single one by hand, and again, results in needing thousands of clicks from the developer...
Yes there is the REST API....
But updating definitions is significantly more complex to do properly via such an API, the documentation is also very unclear on the esoteric nature of it. Resorting to surprises even on stack overflow as people try to do it themselves.
Tools and scripts do not currently elaborately do this. Though I did find 1 single script randomly on GitHub that may do it...
It would be nice for this tool to support it, because Microsoft hasn't provided anything in the product for it
Is your feature request related to a problem? Please describe. We have the ability to create Build definitions via Azure CLI via the
az pipelines create
command but no ability to create Release definitions. The 'az pipelines release create' command creates a new release within an existing definition, it does not allow creation of a new definition. This action is possible via REST API but not in Azure CLI natively.Describe the solution you'd like Either a new command specific to release definition creation or a parameter added to 'az pipelines create' that allows creation of either type of resource.
Additional context Submitting a feature request was recommended on this article.