azure-devopsazure-pipelinesazure-pipelines-release-pipeline

In Azure DevOps release pipeline how to promote the latest version to a stage to which no releases were promoted for some time?


We use on-prem Azure DevOps Server 2019.

Observe the following release pipeline: enter image description here

Notice the last stage - prod. No code was released to it for some time, but now I do want to release the latest there. But, right now I am forced to release and immediately cancel all the versions in the middle, because this is seemingly the only way to release the latest.

Is this the only way?


Solution

  • I know this has been answered but I thought it might be worthwhile to point out that you can actually always ensure that you only promote the latest release by ensuring that the Deploy latest and cancel others located on the deployment queue settings section of your pipeline is checked/selected on your prod release stage