Skip to content

Post comment to Bitbucket Server only if there is any content#1331

Merged
orta merged 1 commit into
danger:masterfrom
pahnev:master
Oct 22, 2021
Merged

Post comment to Bitbucket Server only if there is any content#1331
orta merged 1 commit into
danger:masterfrom
pahnev:master

Conversation

@pahnev

@pahnev pahnev commented Oct 22, 2021

Copy link
Copy Markdown
Contributor

This PR adds a simple check to see if a comment should be posted to Bitbucket Server.

The #1299, describes the issue pretty well, but in short, there are some implementation differences between Github and BBS.

Both platforms have the same concepts of comments and build statuses.
On Github there are two actions, comment posting and setting build status.
On BBS the build status update is not fully implemented, but there are methods already so it could be easily finished if needed. Though because BBS requires a build URL, it makes posting one from danger a bit awkward

Now I don't know if there were status badges when the original implementation was done, but now that there is the Code insights implementation, which adds its own status badge to the PR page, sending a separate build status update might be unnecessary.

@orta

orta commented Oct 22, 2021

Copy link
Copy Markdown
Member

Yeah, this makes sense to me 👍🏻

@orta orta merged commit b6b0673 into danger:master Oct 22, 2021
@orta

orta commented Oct 22, 2021

Copy link
Copy Markdown
Member

Deployed in 8.4.1

SalvatoreT added a commit to SalvatoreT/danger that referenced this pull request Feb 9, 2023
This feature has already been implemented on Bitbucket Server, but it's
missing on Bitbucket Cloud.

Bitbucket Server PR: danger#1331
Original issue: danger#1299
SalvatoreT added a commit to SalvatoreT/danger that referenced this pull request Feb 9, 2023
This feature has already been implemented on Bitbucket Server, but it's
missing on Bitbucket Cloud.

Bitbucket Server PR: danger#1331
Original issue: danger#1299
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants