I’ve been using Azure DevOps pipelines for quite some time. I do have a few older web applications that are only built once a year if that. When working on one of the applications recently, I noticed an error with the pipeline where the deployment would be cancelled. When reviewing the logs, I found the following error:
1 2 3 4 5 ##[warning]An image label with the label Ubuntu-16.04 does not exist. ,##[error]The remote provider was unable to process the request. Pool: Azure Pipelines Image: Ubuntu-16.04 ...
I had forgotten that the images have been updated. To play it safe, I’ve changed the pipeline YML to use
windows-latest wherever I can. In addition, you can make the change in the legacy UI for the Azure DevOps pipelines like so: