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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,706
Community Members
 
Community Events
176
Community Groups

Publish NuGet packages with Bitbucket Pipelines to MyGet

I am trying to publish .net package to MyGet

I see that the nupkg is successfully created:

Successfully created package '/opt/atlassian/pipelines/agent/build/src/ProjectFolder/bin/Debug/MyName.1.0.0.nupkg'.

 

I use the following command to get the job done

- dotnet nuget push /opt/atlassian/pipelines/agent/build/src/ProjectFolder/bin/Debug/MyName.1.0.0.nupkg -k MY_KEY -s MY_URL

reference: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-push

I am getting the following error:

error: Could not find a part of the path '/opt/atlassian/pipelines/agent/build/src/EAI.Okta.SDK/bin/Debug'.

 

What am I doing wrong? Please advise

I spend a whole day searching.

Thank you

 

 

1 answer

0 votes
Norbert C Atlassian Team Mar 29, 2022

Hi Tony,

Thank you for contacting Atlassian Community! I'm Norbert from Bitbucket Cloud Support, it's nice to meet you! Also, welcome to the Atlassian Community :) 

Would it be possible for you to run it locally with the same setup as in Pipelines? You can run a build locally by following the steps mentioned in this documentation: Debug Pipelines locally with Docker - Atlassian Documentation

I am asking you to run this as running the same build locally with the same Docker image emulates the same environment, as you'd be running this build on Bitbucket Pipelines and I would like to see whether if your build is successful locally.

Please let us know how it goes, we're here to help :)

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events