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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: ghprb-plugin
    • Environment:
      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.

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

              Created:
              Updated: