Skip to content

Add ability for Bitbucket clients to use projectKeys

Warren Gifford requested to merge bitbucketProjectKey into main

Created by: susantoscott

Previously Bitbucket clients could only specify repos by projectName. Now, if projectKeys are specified in s.config.ProjectKeys, then those repos would be returned as well.

Test plan

go test -run TestBitbucketServerSource_ListByReposOnly \\ to list repos in the config go test -run TestBitbucketServerSource_ListByRepositoryQuery \\ to list repos by projectName go test -run TestBitbucketServerSource_ListByProjectKeyMock \\ to list repos by projectKey go test -run TestBitbucketServerSource_ListByProjectKeyAuthentic \\ to list repos by projectKey as an authentic request

Merge request reports

Loading