[JIRA] (JENKINS-61677) Mark PR as Needs Work when build fails

0 views
Skip to first unread message

vassilevsky@gmail.com (JIRA)

unread,
Mar 25, 2020, 4:53:03 AM3/25/20
to jenkinsc...@googlegroups.com
Ilya Vassilevsky created an issue
 
Jenkins / New Feature JENKINS-61677
Mark PR as Needs Work when build fails
Issue Type: New Feature New Feature
Assignee: Kristy Hughes
Components: atlassian-bitbucket-server-integration-plugin
Created: 2020-03-25 08:52
Priority: Minor Minor
Reporter: Ilya Vassilevsky

Seeing build status is certainly nice, but getting the PR marked as Needs Work is more actionable. The author will also get notified by email.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

mhenschke@atlassian.com (JIRA)

unread,
Mar 25, 2020, 9:10:02 PM3/25/20
to jenkinsc...@googlegroups.com
Martin Henschke edited a comment on New Feature JENKINS-61677
 
Re: Mark PR as Needs Work when build fails
Hi Ilya, thanks for your suggestion. Unfortunately, we are not able to mark PRs are Needs Work from Jenkins, as this is an action that needs to be taken by a reviewer.

You can however make your build statuses more actionable from within Bitbucket by setting up a [merge check for minimum successful builds|[https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html]
, ] which will restrict merges to PRs with a successful build against them.

I will mark this as CWD for now.

mhenschke@atlassian.com (JIRA)

unread,
Mar 25, 2020, 9:10:02 PM3/25/20
to jenkinsc...@googlegroups.com
Martin Henschke edited a comment on New Feature JENKINS-61677
Hi Ilya, thanks for your suggestion. Unfortunately, we are not able to mark PRs are Needs Work from Jenkins, as this is an action that needs to be taken by a reviewer.

You can however make your build statuses more actionable from within Bitbucket by setting up a [merge check for minimum successful builds |[https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html]] for minimum successful builds which will restrict merges to PRs with a successful build against them.


I will mark this as CWD for now.

mhenschke@atlassian.com (JIRA)

unread,
Mar 25, 2020, 9:10:03 PM3/25/20
to jenkinsc...@googlegroups.com

Hi Ilya, thanks for your suggestion. Unfortunately, we are not able to mark PRs are Needs Work from Jenkins, as this is an action that needs to be taken by a reviewer.

You can however make your build statuses more actionable from within Bitbucket by setting up a [merge check for minimum successful builds|https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html,] which will restrict merges to PRs with a successful build against them.

I will mark this as CWD for now.

mhenschke@atlassian.com (JIRA)

unread,
Mar 25, 2020, 9:11:02 PM3/25/20
to jenkinsc...@googlegroups.com
Martin Henschke edited a comment on New Feature JENKINS-61677
Hi Ilya, thanks for your suggestion. Unfortunately, we are not able to mark PRs are Needs Work from Jenkins, as this is an action that needs to be taken by a reviewer.

You can however make your build statuses more actionable from within Bitbucket by setting up a [ merge check | for minimum successful builds which will restrict merges to PRs with a successful build against them. [https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html] ] for minimum successful builds which will restrict merges to PRs with a successful build against them.

I will mark this as CWD for now.

vassilevsky@gmail.com (JIRA)

unread,
Mar 26, 2020, 6:50:02 AM3/26/20
to jenkinsc...@googlegroups.com

Yes, I was imagining a "Jenkins" user and sending API requests on behalf of that user. It will look like the butler himself has marked the PR as "Needs Work" LOL.

mhenschke@atlassian.com (JIRA)

unread,
Mar 26, 2020, 5:51:03 PM3/26/20
to jenkinsc...@googlegroups.com
Martin Henschke closed an issue as Won't Do
 
Change By: Martin Henschke
Status: Open Closed
Assignee: Kristy Hughes Martin Henschke
Resolution: Won't Do
Reply all
Reply to author
Forward
0 new messages