Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/blog The recommended git tool is: NONE using credential gitee_login Cloning the remote Git repository Cloning repository https://gitee.com/***/blog.git > git init /var/lib/jenkins/workspace/blog # timeout=10 ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Could not init /var/lib/jenkins/workspace/blog at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:1049) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:802) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1225) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1308) at hudson.scm.SCM.checkout(SCM.java:540) at hudson.model.AbstractProject.checkout(AbstractProject.java:1239) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:647) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519) at hudson.model.Run.execute(Run.java:1899) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449)
2、
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
First time build. Skipping changelog. [blog] $ /bin/sh -xe /tmp/jenkins14858128988888610579.sh + cd /opt/script/ + sudo ./blog_script.sh
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified Build step 'Execute shell' marked build as failure Finished: FAILURE