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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.