About automatic deployment twice

I encountered a strange problem.
I made an automatic deployment pipeline in Azure DevOps:
But every time I publish the code, it is automatically deployed twice in octopus:

How can I solve this problem?

Hi @lily.jiang,

Thanks for reaching out, I’d be happy to help figure out what’s going on here!

I’d just like to confirm if that screenshot above is the entire Azure Devops Pipeline or is there an extra step such as “Deploy Octopus Release” afterwards?

This problem can be caused by having the Lifecycle configured for Auto-Deployments when a Release is created so if there is also a step in the Azure Pipeline for Deploying a Release, then 2 deployments will occur. One from the Azure Pipeline Step “Create a Release” which combined with the Auto-Deploy Lifecycle will create a Deployment as well, and another from the potential ‘Deploy Octopus Release’ step in the Azure Pipeline.

If this is not the case I would be more than happy to investigate further :slight_smile: Feel free to let me know if you have any questions!

Best Regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.