Artifactory plugin reports class not found exception with git client 3.0.0

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: