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

Support jgit and jgitapache with Configuration as Code plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-plugin
    • Jenkins 2.164.2
      Configuration as code latest release
      Git plugin 3.10.0

      When I export the configuration as code definition of my Jenkins server that has JGit configured as one of the git implementations, it includes lines like this:

      tool:
        git:
          installations:
          - home: "git"
            name: "Default"
          - home: "jgit"
            name: "jgit"
      

      When I load those lines into configuration as code, it attempts to create a command line implementation of jgit instead of creating the internal implementation of jgit. The result of reloading that configuration looks like this:

            rsandell rsandell
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: