Okay, I am a newbie to Jenkins.
I'm reading Jenkins: The Definitive Guide and am attempting to set up the first example.
I'm having issues and I've searched and haven't really found an answer.
So, I am posting here in the hopes that this is a simple configuration issue.
I've done the following:
However, I am seeing the following error message each time Jenkins attempts to pull changes from the Git repository:
Started by an SCM change:
Building in workspace C:\Jenkins\workspace\game-of-life-default
git.exe rev-parse --is-inside-work-tree
Fetching changes from the remote Git repository
git.exe config remote.origin.url g...@github.com:xxxx-xxxxxx/game-of-life.git
Fetching upstream changes from g...@github.com:xxxx-xxxxx/game-of-life.git
git.exe --version
git.exe fetch --tags --progress g...@github.com:xxxx-xxxxx/game-of-life.git +refs/heads/*:refs/remotes/origin/*
ERROR: Timeout after 10 minutes
FATAL: Failed to fetch from g...@github.com:xxxx-xxxxx/game-of-life.git
hudson.plugins.git.GitException: Failed to fetch from g...@github.com:xxxx-xxxxx/game-of-life.git
Finally returning with a status code: -1.
Any help would be appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/P8mAVI9cROU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
Likewise when I attempt to run the following command in gitBash:
$ git.exe ls-remote -h github.com:jmeloro/game-of-life.git HEAD
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
So, I am thinking that my public/private keys are still not setup correctly.
Any help will be appreciated.
Thanks,
Started by user anonymous Building in workspace C:\Jenkins\workspace\game-of-life-default > git.exe rev-parse --is-inside-work-tree Fetching changes from the remote Git repository > git.exe config remote.origin.url g...@github.com:jmeloro/game-of-life.git Fetching upstream changes from g...@github.com:jmeloro/game-of-life.git > git.exe --version using GIT_SSH to set credentials SSH Username with private key > git.exe fetch --tags --progress g...@github.com:jmeloro/game-of-life.git +refs/heads/*:refs/remotes/origin/* ERROR: Timeout after 10 minutes FATAL: Failed to fetch from g...@github.com:jmeloro/game-of-life.git hudson.plugins.git.GitException: Failed to fetch from g...@github.com:jmeloro/game-of-life.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880) at hudson.model.AbstractProject.checkout(AbstractProject.java:1251) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress g...@github.com:jmeloro/game-of-life.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1325) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1186) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:257) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:621) ... 10 more
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/P8mAVI9cROU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
git.exe fetch --tags --progress g...@github.com:jmeloro/game-of-life.git +refs/heads/*:refs/remotes/origin/*
The "catch" is that I am prompted for the pass phrase!
I suspect that what is happening is that "behind the scenes" a pass phrase is being requested
and since it never gets entered a timeout occurs.
So, the next step is to trouble shoot the credentials plugin.
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/P8mAVI9cROU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
--
Sent from my phone
--
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/P8mAVI9cROU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Thanks!Mark Waite