Hudson git clone error

后端 未结 4 1703
不思量自难忘°
不思量自难忘° 2020-12-15 10:36

I have created free-style software project in Hudson.

I want to clone a public Git repository: git://github.com/bret/watir.git

Build fails with error message

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-15 10:57

    It's worth noting that if the cloning process itself has an issue you will also see this problem. I have had issues with one of my boxes failing 4 out of 5 times on the initial clone of a large repository, and hudson kept throwing this error. A good way to verify this is the problem, and it's not Hudson being unable to find the git executable, is to clone the repository into the Hudson workspace manually, and then run a Hudson build: if Hudson is configured properly the build will succeed and report that there are no changes.

提交回复
热议问题