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

calling minerepository() leads to org.eclipse.jgit.lib.Repository close warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • forensics-api-plugin
    • None

      When calling minerepsoitory() I see this error on the log of the agent:

       

      nov 01, 2024 2:44:33 P.M. org.eclipse.jgit.lib.Repository close
      WARNING: close() called when useCnt is already zero for Repository[d:\jenkinslocaal\workspace\Han_Gitea_DAT2DB_main\.git]

       

      Corresponding console output at this moment:

      [Pipeline] mineRepository*14:44:32* The recommended git tool is: NONE*14:44:32* using credential Jenkins*14:44:32* The recommended git tool is: NONE*14:44:32* using credential Jenkins*14:44:33* [Forensics] Creating SCM miner to obtain statistics for affected repository files*14:44:33* [Forensics] -> checking SCM 'git [https://git.seatools.nl:3443/Han/DAT2DB.git]'{*}14:44:33{*} [Forensics] -> Git miner successfully created in working tree 'd:\jenkinslocaal\workspace\Han_Gitea_DAT2DB_main'{*}14:44:33{*} [Forensics] Analyzing the commit log of the Git repository 'd:\jenkinslocaal\workspace\Han_Gitea_DAT2DB_main'{*}14:44:33{*} [Forensics] No commits found since previous commit '47860ddea62ca56f8d6587f24fa711cc54b838ab'{*}14:44:33{*} [Forensics] Found 0 commits*14:44:33* [Forensics] -> Created report in 1 seconds*14:44:33* [Forensics] -> 0 commits with differences analyzed*14:44:33* [Forensics] -> 0 lines added*14:44:33* [Forensics] -> 0 lines deleted[Pipeline] }{*}14:44:32{*} > git.exe rev-parse "HEAD^\{commit}" # timeout=10
      

      When removing call to minerepository() the warning on the agent console does not occur/

            drulli Ulli Hafner
            han_geerligs Han Geerligs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: