Error cloning remote repo origin

Issue

  • Encounter the following errors:

    Cloning the remote Git repository
    Cloning repository https://USER:PASS@REPO/repo/repository.git

    C:/Progra~2/Git/bin/git.exe init C:/jenkins/workspace/test # timeout=10
    Fetching upstream changes from https://USER@REPO/reop/repository.git
    C:/Progra~2/Git/bin/git.exe –version # timeout=10
    C:/Progra~2/Git/bin/git.exe -c core.askpass=true fetch –tags –progress https://USER@REPO/repo/repository.git +refs/heads/:refs/remotes/origin/
    ERROR: Error cloning remote repo ‘origin’
    ERROR: Error cloning remote repo ‘origin’
    Finished: FAILURE

  • ERROR: Error cloning remote repo ‘origin’

Environment

  • Git plugin 2.3.5-
  • Jenkins

Resolution

Upgrading to git plugin version 2.4.0+ removes the duplicate error message and reports the actual error message.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.