Unable to get Jenkins and Git to play nice

前端 未结 2 1706
时光取名叫无心
时光取名叫无心 2020-12-17 00:41

Jenkins version: 1.429
Git plugin version: 1.1.12

I am unable to get the Git plugin to clone a Git repository. It fails with the error

Command \         


        
相关标签:
2条回答
  • 2020-12-17 01:10

    Shot in the dark: Have you tried double slashes? eg

    V:\\VIPOR
    

    We were on a similar path as yourself (jenkins and git on a windows box) and quickly found that we needed to move to linux. We got the impression that many of the plugins were not tested throughly (or at all) on windows.

    0 讨论(0)
  • 2020-12-17 01:12

    I believe the problem is this:

    For a network path (such as V:) to be accessible/active, a user needs to be logged in. The Jenkins service does not actually log-in to a system, even if you run the service as you, and therefore network paths are usually not available by drive letter.

    You might want to try the actual path to the repository, such as:

    \\server\path\to\gitrepo
    

    and see if that works.

    0 讨论(0)
提交回复
热议问题