Redeploying old build in octopus using AZURE DEVOPS its gets deployed new build instead of old build

When traying to Redeploying old build in octopus using AZURE DEVOPS its gets deployed a new build instead of old build.
Example Build 1 : 2021.22.1_semtag
Build 2 : 2021.22.2_semtag
Build 3 : 2021.22.3_semtag
Build 4 : 2021.22.4_semtag

Redeploying old build Build 2 : 2021.22.2_semtag in octopus using AZURE DEVOPS its gets deployed new build Build 4 : 2021.22.4_semtag instead of old build, kindly suggest on this.

Thanks In Advance!!

Hi Maruboyinarao,

Sorry for the delay. This will fully depend on your Devops Pipeline.

If you run the step “OctopusCreateRelease@4” - it will create the release and deploy - which should increment your Build.

If you run the step “OctopusDeployRelease@4” - it should not create a new build before deployment.

In the Deploy Release task - you should specify the release number to deploy. Similar to this:

  • task: OctopusDeployRelease@4
    inputs:
    ReleaseNumber: ‘2021.22.4’

Let me know how that goes or if you need any further direction.

If this is how you already have your pipeline configured, please send me your entire pipeline and logs and I will investigate what is going wrong.

Regards,

Dane

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