Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
Managed Master 2.107.3.4-rolling
Pipeline 2.5
Github Branch Source 2.3.5
pipeline-github-plugin 1.0
workflow-multibranch 2.18
disable-github-multibranch-status 1.1
Description
When a pull request from a different fork is created, all statuses get posted to the fork of the submitter, and not the target. This causes issues with the pull request, because on the Github PR page, there is seemingly no status reported by Jenkins.
My fork gshieh/my_code is trying to submit a change into TheCompany/my_code
I have an idea why this is occurring. The plugin is POST-ing to
/repos/gshieh/my_code/statuses/3776fe0c93c2588af558a1adb88918fd439524ee
not to
/repos/TheCompany/my_code/statuses/3776fe0c93c2588af558a1adb88918fd439524ee
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
When a pull request from a different fork is created, all statuses get posted to the fork of the submitter, and not the target. This causes issues with the pull request, because on the Github PR page, there is seemingly no status reported by Jenkins. We're behind a private github enterprise, so I can only give an hypothetical example with URLs. My fork {{gshieh/my_code}} is trying to submit a change into {{TheCompany/my_code}} I have an idea why this is occurring. The plugin is POST-ing to {{/repos/gshieh/my_code/statuses/3776fe0c93c2588af558a1adb88918fd439524ee}} not to {{/repos/TheCompany/my_code/statuses/3776fe0c93c2588af558a1adb88918fd439524ee}} |
When a pull request from a different fork is created, all statuses get posted to the fork of the submitter, and not the target. This causes issues with the pull request, because on the Github PR page, there is seemingly no status reported by Jenkins. My fork {{gshieh/my_code}} is trying to submit a change into {{TheCompany/my_code}} I have an idea why this is occurring. The plugin is POST-ing to {{/repos/gshieh/my_code/statuses/3776fe0c93c2588af558a1adb88918fd439524ee}} not to {{/repos/TheCompany/my_code/statuses/3776fe0c93c2588af558a1adb88918fd439524ee}} |
Environment |
Managed Master 2.107.3.4-rolling Pipeline 2.5 Github Branch Source 2.3.5 pipeline-github-plugin 2.0 |
Managed Master 2.107.3.4-rolling Pipeline 2.5 Github Branch Source 2.3.5 pipeline-github-plugin 1.0 |
Environment |
Managed Master 2.107.3.4-rolling Pipeline 2.5 Github Branch Source 2.3.5 pipeline-github-plugin 1.0 |
Managed Master 2.107.3.4-rolling Pipeline 2.5 Github Branch Source 2.3.5 pipeline-github-plugin 1.0 workflow-multibranch 2.18 disable-github-multibranch-status 1.1 |
Hi gordonshieh thanks for the bug report, I've created a GitHub issue to track this:
https://github.com/jenkinsci/pipeline-github-plugin/issues/30