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

pullRequest.createStatus Reports status to the pull request fork, not the fork being submitted to

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline-github-plugin
    • 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

      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
       

       

            aaronjwhiteside Aaron Whiteside
            gordonshieh Gordon Shieh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: