Skip to content

Commit c4e0c80

Browse files
committed
ci: Specify the image for the CiCheckpoint stage
Without specifying which image to use for the CiCheckpoint stage, Azure will default to using Ubuntu 16.04. However, Ubuntu 16.04 has been removed from Azure, so the pipeline stage will end up cancelling itself with the following error: ##[warning]An image label with the label Ubuntu16 does not exist. ,##[error]The remote provider was unable to process the request. Pool: Azure Pipelines Image: Ubuntu16 Explicitly specify the image to use in the CiCheckpoint stage to ensure the stage doesn't cancel itself.
1 parent d712174 commit c4e0c80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ stages:
150150
jobs:
151151
- job: ChecksPassing
152152
displayName: 'Checks Passing'
153+
pool:
154+
vmImage: ubuntu-20.04
153155
# A dummy job is required due to a bug in Azure which runs the previous job if nothing is defined.
154156
steps:
155157
- bash: echo "All prerequisite stages have passed and the package should be suitable for release."

0 commit comments

Comments
 (0)