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

Is anyone able to offer guidance on using Bitbucket Cloud with Source Link?

We're a .NET and Atlassian shop.  We'd like to be able to debug our NuGet packages using Source Link.  I've followed the instructions provided for getting Source Link working with a Bitbucket repo without any luck.  It's unable to retrieve the files while debugging.

I suspect that it might be due to the fact that we're using 2-factor authentication, since we make use of Bitbucket Pipelines.  I've reached out for assistance from the Source Link team, as well as on Stack Overflow with no luck, so I thought I'd see if anyone in the Atlassian community might be able to offer any guidance?

Many Thanks!

Mike

1 answer

1 accepted

0 votes
Answer accepted

For folks that run into this same issue, we were able to determine that this was due to Pipelines using HTTP when pulling the source.  Source Link utilizes this repository path and ends up using HTTP in what it embeds, which results in a 301 (redirect) when it later attempts to access the source code.  In order to work around this, we now temporarily change the repository path to HTTPS in our pipeline prior to doing the build and then reset it back immediately afterwards.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events