Reputation: 101
I have an Azure DevOps pipeline using a macos-latest image. That constantly fails when the image version is 20201212.1. And it works as expected with the image version 20210110.1.
Is there a way to select the image version in the pipeline?
Upvotes: 1
Views: 390
Reputation: 13444
When using Microsoft-hosted agents to run pipelines, typically it will automatically update the image to the latest release for use (generally updated weekly). And we can't specify the image version of the agents.
Currently the released latest image version of macOS agent (macOS X Catalina 10.15
) is 20201212.1
(see here).
The image version 20210110.1
is Pre-release now (see here). Currently, this image version has not been deployed completely on Azure DevOps, and there may be few regions are be able to use this image version.
In your case,
That constantly fails when the image version is 20201212.1. And it works as expected with the image version 20210110.1.
What is the details of the error message in the output logs?
If the issue is caused by different versions of some software installed on the image, you can try to update or install the software with the versions you require. to view more details, you can reference here.
If the issue still exists after changing the software versions, I recommend that you can open an issue on the "actions/virtual-environments" repository for more help.
Upvotes: 1