jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-61886] Merge Conflicts should cause a failed status notification to be sent to Github

Open
#1,300 0 comments 1 reaction 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

When a github PR has merge conflicts, the build fails in Jenkins but the build status is not sent to Github. What would be preferred is that when there's a build failure, even if it's caused by a merge conflict it should be sent to github as a failed build

Current Console output

Pull request #7185 updated11:14:42 Connecting to https://api.github.com using XXXXXX/****** (Github credentials to use with multi-branch pipeline jobs)ERROR: Pull request 7185 : Not mergeable at 7f6888e4b84674f7218ae4b4673c671039402c52+3a8a37fcc703e389c16ffd9ff5493c180ba54a72 (NOT_MERGEABLE)

Finished: FAILURE

 

 

---
Originally reported by twunderlich, imported from: Merge Conflicts should cause a failed status notification to be sent to Github


  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 3
  • imported: 2025-12-02

Raw content of original issue

When a github PR has merge conflicts, the build fails in Jenkins but the build status is not sent to Github. What would be preferred is that when there's a build failure, even if it's caused by a merge conflict it should be sent to github as a failed build

Current Console output
Pull request #7185 updated11:14:42 Connecting to https://api.github.com using XXXXXX/****** (Github credentials to use with multi-branch pipeline jobs)ERROR: Pull request 7185 : Not mergeable at 7f6888e4b84674f7218ae4b4673c671039402c52+3a8a37fcc703e389c16ffd9ff5493c180ba54a72 (NOT_MERGEABLE)
Finished: FAILURE
 

 

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.