Issue:
I have setup
Jenkins v1.605
hosted withApache Tomcat 7.0.59
onWindows 7 SP1 x64
behind acorporate proxy
I configured JDK, Git and maven installation paths in Jenkins. Also configured the proxy under the Advanced tab in Manage Plugins
I have a Java project on Eclipse that I have hosted on a
Bitbucket
repository using the EGit plugin and I am trying to connect it to Jenkins over httpsI created a new job in Jenkins, added the repository URL (https://@bitbucket.org//.git) and added my credentials in the next step. This is where I get the following error:
Failed to connect to repository : Could not init D:\Work\apache-tomcat-7.0.59\temp\hudson4595160075978517187tmp
What I have tried:
I have checked ~20 SO questions and a lot of other websites in the last two days and implemented solutions others found helpful, but to no avail. Here's what I've tried:
Tried to clone the repository from Git Bash after configuring the http/https proxy in git (from this answer and this issue). The repository was cloned successfully, but Jenkins was not able to connect to it.
Double-checked the git installation path configuration in Jenkins (this and many other answers)
I downgraded the git and git client plugins from the latest versions to 1.5.0 and 1.0.7 respectively (from this and many other answers). After this, I entered the URL with my credentials (this answer), but got the same result. After this, I reverted to the latest versions.
I tried connecting to a GitHub repository, but faced the same issue
Tried to enter the repo URL in various formats (this and this answers)
I cleared the Tomcat temp folder and relaunched Jenkins with Tomcat (this answer), but it did not solve the issue
Can anyone please tell me if I'm missing something here? Should I perform some other steps while working behind a proxy? Or is it some other issue?