Jenkins HTTPS Git

currently working on a proof of concept with automation, so I'm trying to get Jenkins to work with our GIT repository, but after filling in the credentials I get a strange error.

Failed to connect to repository : Could not init C:\apache-tomcat-8.0.20\temp\hudson426153378954858779tmp

this happens on the jenkins project configuration screen when choosing git

ignoring this error gives me this log from trying to get a repo:

Started by user anonymous
Building in workspace C:\Users\<name>\.jenkins\workspace\test-build
Cloning the remote Git repository
Cloning repository https://gitlab.<project name>.git
 > C:\Program Files (x86)\Git\libexec\git-core\git.exe init C:\Users\<name>\.jenkins\workspace\test-build # timeout=10
ERROR: Error cloning remote repo 'origin'
ERROR: Error cloning remote repo 'origin'
Finished: FAILURE
  • GIT repository is private
  • Powered by Apache tomcat 8.0.20
  • Jenkins Version 1.602.war
  • Windows 7 pro x64
+2
source share
2 answers

it is best to use JGIT using git and the downstream git plugin, it worked for me. enter image description here

0
source

, git . , , -

git ls-remote -h https://gitlab.<project name>.git HEAD

( Jenkins) - ( ).

0

All Articles