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

ghprbPullLink incorrectly links to https://api.github.com/repos/.....

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ghprb-plugin
    • ghprb 1.16-8
      Jenkins ver. 1.605
      ghprb 1.28.6
      Jenkins ver. 1.632

      The ghprbPullLink is incorrectly linking to api.github.com is some circumstances.

      Incorrect:
      https://api.github.com/repos/org-here/repo-here/pulls/1234

      The prior behavior which is correct for our usage:
      https://github.com/org-here/repo-here/pull/1234

      Different builds show either result depending on how it was triggered. It seems when the build starts via a "retest this please" regex match we get the incorrect url.

      When the build is triggered by an initial pull request it is correct and can be resolved.

            Unassigned Unassigned
            trbaker Trevor Baker
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: