Use the correct parameter to create a public repository in Bitbucket Server.

Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
This commit is contained in:
Dominik Henneke
2021-06-14 18:14:26 +02:00
parent 608e83f928
commit df3ac03cfb
2 changed files with 6 additions and 1 deletions
@@ -174,7 +174,7 @@ export class BitbucketPublisher implements PublisherBase {
body: JSON.stringify({
name: name,
description: description,
is_private: this.config.repoVisibility === 'private',
public: this.config.repoVisibility === 'public',
}),
headers: {
Authorization: this.getAuthorizationHeader(),