Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cache not found for dotnetcore

Damien Turnbull June 13, 2021

Hi

Having recently set up a pipline for a dotnetcore project we have this yml file defined:

image: mcr.microsoft.com/dotnet/core/sdk:3.1

pipelines:
default:
- step:
name: Build FM.Web
caches:
- dotnetcore
script:
- REPORTS_PATH=./test-reports/build_${BITBUCKET_BUILD_NUMBER}
- dotnet restore
- dotnet build --no-restore --configuration Release
- dotnet publish --configuration Release --no-build --no-restore ./FM.Web/FM.Web.csproj -o ./publish
artifacts:
- publish/**

 

Looking at the build logs we can see that the cache directive for dotnetcore seems to be failing.

 

Cache "dotnetcore": Downloading

Cache "dotnetcore": Not found

 

Any ideas why the cache would be failing for us?

 

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events