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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • ghprb-plugin
    • ghprb 1.16-8
      Jenkins ver. 1.605
      ghprb 1.28.6
      Jenkins ver. 1.632

    Description

      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.

      Attachments

        Activity

          trbaker Trevor Baker created issue -
          podarok Andriy Podanenko made changes -
          Field Original Value New Value
          Labels variables
          gabel Martin F made changes -
          Environment ghprb 1.16-8
          Jenkins ver. 1.605
          ghprb 1.16-8
          Jenkins ver. 1.605
          ghprb 1.28.6
          Jenkins ver. 1.632
          gabel Martin F made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 161754 ] JNJira + In-Review [ 180825 ]
          janinko Honza Brázdil made changes -
          Assignee Honza Brázdil [ janinko ]

          People

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

            Dates

              Created:
              Updated: