Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi @bsarica
Please confirm it I'm understanding you correctly.
You are trying to use the .net core SDK 3.0 in Pipelines, but the default docker image (that is used when no other is referenced) does not have the version you need, right?
If this is the case, can you reference a different image that has the SDK you need?
Another option is to customize any image as you want. Then you can reference it in your Pipelines.
More details on how to reverence other images can be found at:
I hope that is helpful.
I'm glad you are back in business now! =]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bsarica,
Can you please share the YML file which you have used for pipeline as I am getting error. I am using the .net core 3.1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
# This is a sample build configuration for .NET Core.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: mcr.microsoft.com/dotnet/core/sdk:3.0
pipelines:
branches:
develop:
- step:
caches:
- dotnetcore
script: # Modify the comma`nds below to build your repository.
#the following lines are irrelevant.
IMO the bold line should be replaced in your situtation. Just try 3.1 at the end and see if anything happens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update bitbucket-pipelines.yml to use the following image
image: mcr.microsoft.com/dotnet/core/sdk:3.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.