我已将Jenkins配置为在Windows Server中为GIT存储库生成构建。我的Jenkins作业配置为连续轮询存储库,并在存储库中找到任何更改时触发构建。即使存储库中没有任何更改,问题仍然是Jenkins作业自动触发。当我检查轮询日志时,它打印了以下消息
Started on Oct 27, 2011 9:45:54 AM
Using strategy: Default
[poll] Last Build : #289
[poll] Last Built Revision: Revision 7fd9fb8139dd0c449a0382b505c7857c8634f33f (origin/Prod_dev)
Workspace has a .git repository, but it appears to be corrupt.
No Git repository yet, an initial checkout is required
Done. Took 11 sec
Changes found