You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.