I'm new to Bitbucket, and I don't see any package or artifact feed hosting like in Github or Azure DevOps. Before I start hosting that in Azure DevOps, I want to make sure that it's just not there under a different name.
I was hoping to be able to use Azure Artifacts as my nuget package retention platform, but it looks like OIDC between Bitbucket Pipelines and Microsoft Entra is not currently supported.
https://jira.atlassian.com/browse/BCLOUD-22206
An Atlassian-native way to retain nuget packages that would be feature-complete as to what is achievable in Azure DevOps would have been ideal.
I'm sufficiently embedded in Atlassian products and workflow that I don't think this would be sufficient reason to migrate everything to Azure DevOps, but this did give me a moment to think about it to make that decision.
I'll have to see if I can find an alternate method for hosting nuget packages built in BitBucket.
If anyone's interested, I was able to get this up and running for Azure Artifacts by using service principals and security groups for the permissions themselves.
In hindsight I think this has actually turned out to be the better solution, because I'm now able to manage all the credentials for that centrally under Azure.
It means that in the future as I want to add more people to have access to those artifact feeds, I can just set them up with a Microsoft Entra credential, add them to the appropriate security group, and just like that they can access what they need.
Since I'm getting everything in this new project set up in Azure as the cloud backend anyway, this has turned out to work out better than if Atlassian hosted an equivalent product anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Daniel Przybylski and welcome to the community!
You can store your library in a Bitbucket Cloud repository and install it using the npm command with the following syntax :
npm install git+ssh://git@bitbucket.org/{user}/{repository}.git
I also found this tutorial that might be useful when setting up your dependencies to download from Bitbucket repository :
Thank you, @Daniel Przybylski !
Patrik S
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.
Hello @Vittorio Sozzi ,
Bitbucket is primarily designed for managing and tracking your code using git as the version control solution. It's not typically used as a package manager for storing Nuget packages.
Nuget packages are typically stored and distributed through a different type of application known as package manager. These systems allow you to store, distribute, update, and manage packages like Nuget. Examples of such systems include NuGet Gallery, ProGet, and MyGet. You may want to consider using these alternatives to host your Nuget artifact feed.
Thank you, @Vittorio Sozzi .
Patrik S
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.