GnuTLS recv error (-110): The TLS connection was non-properly terminated.

jenkins构建项目时报错,报错信息如下:

status code 128:
stdout: 
stderr: fatal: unable to access 'https://github.com/*/cronmall_parent.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2734)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2111)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:623)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:852)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1226)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1309)
	at hudson.scm.SCM.checkout(SCM.java:540)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1241)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:649)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)
	at hudson.model.Run.execute(Run.java:1900)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
	at hudson.model.ResourceController.execute(ResourceController.java:107)
	at hudson.model.Executor.run(Executor.java:449)
ERROR: Error cloning remote repo 'origin'
Finished: FAILURE

原因分析:
git之前能下载下来项目,今天突然下载不下来了,检查了下,是网络的原因,切换了下网络就可以了,当然了,如果一开始就报这个错是权限的原因,可能用户没有拉取这个代码的权限。

你可能感兴趣的:(报错,java,jenkins,开发语言)