Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitPropertyController中的saveProperties(...)方法每次执行git clone命令时会报错 #116

Open
liangweilu opened this issue Sep 27, 2018 · 1 comment

Comments

@liangweilu
Copy link

从界面上点击:配置中心获取,或者是保存配置时,会报找不到指定文件的错误。
1、配置中心获取虽然报错,但是确实能获取到。
2、在保存配置的时候,服务器log显示SUCCESS,但是没有执行commit等操作,原因也是因为git clone 时报错,错误如下:

java.io.IOException: Cannot run program "git": CreateProcess error=2, 系统找不到指定的文件at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at java.lang.Runtime.exec(Runtime.java:620)
	at java.lang.Runtime.exec(Runtime.java:450)
	at com.didispace.easyutils.cmd.CmdRunner.execute(CmdRunner.java:50)
	at com.didispace.easyutils.cmd.CmdRunner.execute(CmdRunner.java:25)
	at com.didispace.scca.plugin.git.GitPropertyController.saveProperties(GitPropertyController.java:115)
@yearyeardiff
Copy link

检查机器是否安装git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants