You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The item group `SourceLinkGitLabHost` specifies the domain of the GitLab host and the version of GitLab.
105
+
The version is important since URL format for accessing files changes with version 12.0. By default Source Link assumes new format (version 12.0+).
106
+
107
+
You might also consider using environment variable [`CI_SERVER_VERSION`](https://docs.gitlab.com/ee/ci/variables/predefined_variables.html) (`Version="$(CI_SERVER_VERSION)"`) if available in your build environment.
108
+
96
109
### Bitbucket
97
110
98
111
For projects in git repositories hosted on [Bitbucket.org](https://bitbucket.org) or hosted on an on-prem Bitbucket server reference [Microsoft.SourceLink.Bitbucket.Git](https://www.nuget.org/packages/Microsoft.SourceLink.Bitbucket.Git) package:
0 commit comments