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

Last change publishing fails with peel() method not found in git client 6.0.0 and later

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • last-changes-plugin
    • None
    • Jenkins 2.463 or later
      Git client plugin 6.0.0 or later

      Git client plugin 6.0.0 includes JGit 7.0.0. JGit 7.0.0 removes methods that have been deprecated for many years. The last changes plugin git implementation uses the peel(Ref) method that has been removed.

      The peel(Ref) call needs to be replaced with a getRefDatabase().peel(Ref) call.

          [JENKINS-73781] Last change publishing fails with peel() method not found in git client 6.0.0 and later

          Mark Waite created issue -
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-73780 [ JENKINS-73780 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-73775 [ JENKINS-73775 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "Caused by PR-1170 to git client plugin - use JGit 7.0.0 (Web Link)" [ 29996 ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Assignee Original: Rafael Pestano [ rmpestano ] New: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR-97 - replace peel() with getRefDatabase().peel() (Web Link)" [ 29999 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Mark Waite made changes -
          Attachment New: last-changes.hpi [ 63312 ]

          Mark Waite added a comment - - edited

          I've attached the pre-release build from ci.jenkins.io as last-changes.hpi in case a plugin user is able to test drive it.

          Mark Waite added a comment - - edited I've attached the pre-release build from ci.jenkins.io as last-changes.hpi in case a plugin user is able to test drive it.

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: