azureazure-devopsazure-devops-deploymentgroups

How to deploy to a single selected target in an Azure Devops Deployment Group


Is there a way how to select a single target and perform a deployment against it in an Azure devops Deployment Group Release Task?

E.g: In a web servers deployment group a deployment of, say a certificate failed against a single machine. I 'd like to now deploy this certificate only on that target. How can I do as such?


Solution

  • For this issue, you can specify the tag of the target machine in the Required tags field.

    enter image description here

    The tags you assign allow you to limit deployment to specific servers when the deployment group is used in a Deployment group job. Tags are each limited to 256 characters, but there is no limit to the number of tags you can use. For details,please refer to this document.

    enter image description here

    Or you can disable other targets in the Deployment pools of organization setting. This can disable deployment to this target.

    enter image description here