Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61677

Mark PR as Needs Work when build fails

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          mhenschke_atlassian Martin Henschke added a comment - - edited

          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

          I will mark this as CWD for now.

          Show
          mhenschke_atlassian Martin Henschke added a comment - - edited 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 I will mark this as CWD for now.
          Hide
          vassilevsky Ilya Vassilevsky added a comment -

          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.

          Show
          vassilevsky Ilya Vassilevsky added a comment - 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.

            People

            • Assignee:
              mhenschke_atlassian Martin Henschke
              Reporter:
              vassilevsky Ilya Vassilevsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: