Jenkins As service not able to connect to Git Lab through SSH

10 views
Skip to first unread message

Ranjit kumar Kundu

unread,
Jul 28, 2016, 3:12:05 AM7/28/16
to Jenkins Users
Building in workspace C:\Program Files (x86)\Jenkins\jobs\ApiV1\workspace
 > C:\Program Files\Automation\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files\Automation\Git\bin\git.exe config remote.origin.url http://git.covisintrnd.com/CovisintAutomationFramework/PRD-IDM-API.git # timeout=10
Fetching upstream changes from http://git.covisintrnd.com/CovisintAutomationFramework/PRD-IDM-API.git
 > C:\Program Files\Automation\Git\bin\git.exe --version # timeout=10
using GIT_SSH to set credentials PrivateKey
using .gitcredentials to set credentials
 > C:\Program Files\Automation\Git\bin\git.exe config --local credential.username sAdministrator # timeout=10
 > C:\Program Files\Automation\Git\bin\git.exe config --local credential.helper store --file=\"C:\Windows\TEMP\git1290652479642764419.credentials\" # timeout=10
 > C:\Program Files\Automation\Git\bin\git.exe -c core.askpass=true fetch --tags --progress http://git.covisintrnd.com/CovisintAutomationFramework/PRD-IDM-API.git +refs/heads/*:refs/remotes/origin/*
ERROR: Timeout after 10 minutes
 > C:\Program Files\Automation\Git\bin\git.exe config --local --remove-section credential # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from http://git.covisintrnd.com/CovisintAutomationFramework/PRD-IDM-API.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:799)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1055)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
	at hudson.scm.SCM.checkout(SCM.java:485)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1738)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "C:\Program Files\Automation\Git\bin\git.exe -c core.askpass=true fetch --tags --progress http://git.covisintrnd.com/CovisintAutomationFramework/PRD-IDM-API.git +refs/heads/*:refs/remotes/origin/*" returned status code -1:
stdout: 
stderr: 
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:797)
	... 11 more
ERROR: null
Finished: FAILURE
Reply all
Reply to author
Forward
0 new messages