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

Artifactory plugin reports class not found exception with git client 3.0.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • artifactory-plugin
    • None
    • Jenkins 2.150.1
      Git client plugin 3.0.0-beta6
      Artifactory plugin from master branch

      Git client plugin 3.0.0 updates the bundled JGit from 4.5.4 to 5.2. JGit 5.2 replaces the Repository.getRef(String) call with two calls, Repository.exactRef(String) and Repository.findRef(String).

      Rather than use the JGit Repository method, switch to using the git client plugin API that will then call the correct JGit method based on the installed version of JGit.

            eyalbe Eyal Ben Moshe
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: