Hello,
I would like to understand if i can use azure artifacts as a nuget repo for my existing BitBucket Pipelines.
Hi @VR ,
Thank you for your question!
It's a good case to use our ready-to-go template.
And don't forget setup your nuget source before according to the dotnet nuget add source guide.
dotnet nuget add source https://azureartifacts.microsoft.com/myTeam -n myTeam
You can check out these resources
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/bitbucket?view=azure-devops&tabs=yaml
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/on-premises-bitbucket?view=azure-devops
https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-microsoft-azure/
https://marketplace.visualstudio.com/items?itemName=ms-vscs-rm.vss-services-bitbucket
Regards,
Soumyadeep
Hi @Soumyadeep Mandal - SaM These do provide several articles but unfortunately these do not provide any information on using external nuget feeds such as azure artifacts repos with bitbucket pipelines.
You can have a look at this link https://community.atlassian.com/t5/Bitbucket-questions/Does-artifacts-in-Bitbucket-pipelines-get-replaced/qaq-p/1567592
https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/How-to-add-go-binary-as-bitbucket-pipeline-artifact/qaq-p/1260304
You can also contact Atlassian Team HERE
How does the authorization work? Where can we store the authorization credentials?
@VR did you get this working? Interested in the same answer as @Uwe Eichkorn above, none of the links provided document how authorization should be handled.
I'm in the process of setting it up, but so far looks like I may need to install the Azure Artifacts Credential Provider and insert an environment variable containing the PAT during each build. Would be great if I could find a quicker way of doing it.
For the benefit of anyone having trouble with authentication I followed these steps;
It looks like you're new here. Sign in or register to get started.