Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

.net core 2.0 build fails

Mbuso Sithole
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2018

I was trying out pipelines and I want to use it with a .netcore 2.0 project. I create a simple project that has nothing, added it to a repo and added the .net core yml. The build fails and shows this error:

 

+ umask 000+ git clone --branch="master" --depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/submils/the-spaza-gallery.git $BUILD_DIR ; git reset --hard ea3b5259653ec1a3ab46e282c0b3ededf1472177 ; git remote set-url origin git@bitbucket.org:submils/the-spaza-gallery.gitCloning into '/opt/atlassian/pipelines/agent/build'...HEAD is now at ea3b525 ......

+ chmod 777 $BUILD_DIRCache

"dotnetcore": DownloadingCache

"dotnetcore": Error downloading. Please contact support if this error persists.

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2018

Hi,

Can you see what happens if you remove the dotnetcore cache from your configuration?

Specifically remove this:

caches:
- dotnetcore

And any corresponding references to the dotnetcore cache in other steps.

However, were there any commands/errors after the cache error? Caches failing to download should not cause your pipeline to fail.

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events