Jenkins doesn't stop after Git clone
We are setting up a Jenkins server, and are trying to configure our first project.
The first step was to clone the private repository from GitHub, which now apparently works. At least we don’t get any SSH errors any longer, mainly thanks to this article.
- Jenkins + git: “tell me who you are” error, why does it need to tag?
- Gcloud preview app can't parse my yaml
- Jenkins Version Number Format Substring
- robot framework selenium standalone Only Java Installed
- Echo off in Jenkins Console Output
- Job DSL to create “Pipeline” type job
Now we have not yet configured and build steps or post-build steps, but we would assume Jenkins to clone the git repository, and then stop (with success).
Unfortunately, this is NOT what happens. Instead Jenkins just keeps working and working and working, infinitely … when you cancel the job and take a look at the log file, everything looks fine, except for the note that the user cancelled the job.
This is the log:
Started by user John Doe Building in workspace C:\Program Files (x86)\Jenkins\workspace\FooProject Checkout:FooProject / C:\Program Files (x86)\Jenkins\workspace\FooProject - … … hudson.remoting.LocalChannel@1daf314 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from origin Build was aborted Aborted by John Doe Finished: ABORTED
We are using Git 1.8.4, run on Windows, and use the
git.exe file (as the
gitk.cmd did not work, but raised an error about leaking a child process).
Any idea of what might be wrong?
One Solution collect form web for “Jenkins doesn't stop after Git clone”
Okay, we’ve found the issue: In the system-wide environment variables there is a variable called
GIT_SSL, which pointed to TortoiseSVN’s
plink.exe which was obviously wrong.
Once we changed that to the
ssh.exe provided by MSysGit, everything works as expected 🙂