dotnet / dotnet/sourcelink

SourceLink.BitBucket.Git uses wrong URL when ContinuousIntegrationBuild is true

Open
#1,220 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.4k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

I'm trying to get SourceLink working with an on prem BitBucket server.
When ContinuousIntegrationBuild is _false_, and PublishRepositoryUrl is true, the URL is correctly published, including a "scm" subfolder as follows:

https://server/**scm**/project/repository.git

However, when ContinuousIntegrationBuild is _true_, the URL is incorrect (it removes the scm part of the path, resulting in a 404 Not Found:
https://server/project/openspace-rfmanager-test.git

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.