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

Artifactory plugin reports class not found exception with git client 3.0.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: artifactory-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.150.1
      Git client plugin 3.0.0-beta6
      Artifactory plugin from master branch
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            markewaite Mark Waite created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Remote Link This issue links to "PR 35 (Web Link)" [ 22129 ]
            markewaite Mark Waite made changes -
            Remote Link This issue links to "PR 35 (Web Link)" [ 22129 ]
            markewaite Mark Waite made changes -
            Comment [ See pull request 35 for one possible solution ]
            markewaite Mark Waite made changes -
            Remote Link This issue links to "Pull request 93 (Web Link)" [ 22312 ]
            markewaite Mark Waite made changes -
            Summary Artifactory plugin reports class not found exception with git client 3.0.0 beta Artifactory plugin reports class not found exception with git client 3.0.0
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: