Feature Request: Pause/Resume DefinitionQueue
Add support for enable/disable/pause a build definition queue:
https://docs.microsoft.com/en-us/rest/api/azure/devops/build/definitions/update?view=azure-devops-rest-5.1#definitionqueuestatus
Not sure which command this belongs to though
I would implement this, but @DarqueWarrior maybe can give feedback on how to handle these kinds of things.
Because practically this is part of the build definition, so you could control it by adjusting the build definition. The process would be
- Get-VSTeamBuildDefinition
- Alter the return JSON to adjust the setting
- call Update-VSTeamBuildDefinition
Because I think there are many features in a build definition that could be implemented in e.g. "Update-VSTeamBuildDefinition", but the question is on which criteria do we decide when an extra parameter should be used instead of using some sort of JSON object.
Instead of changing Update-VSTeamBuildDefinition should we add a Pause-VSTeamBuildDefintion and Resume-VSTeamBuildDefintion? Each of those can take the steps @SebastianSchuetze states above... Thoughts?
I like it (Pause/Resume), keeps clutter away from existing one‘s