My hudson job just started hanging at the start of the build, output looks like: Started by user anonymous [spinner] It can be in this state for several hours, I don’t know what can be wrong. Any ideas? How I can debug this stuff?
I have a question. Now in project we use git for automatically update testing server (deployment). There is fresh HEAD revision on hook when push to repository using Jenkins. Now there is an Idea about using moving tags to point on deploy revision. Example git tag for-deploy, and move this tag to needed revision. By […]
I’m setting up Jenkins for a Rails 3.2 app. I added the Github plugin and setup the keys for the local “jenkins” user on the server. I can git clone from the command line on the server just fine so I know the keys work. When I build, it can’t clone the repo.. Started by […]
I have raised a similar question before yet after doing some research and bashing my head for a long time , I have concluded that I need some more guidance. We have currently migrated to GIT from SVN and biggest impact was to our CI Server. Since you can’t checkout sub-directories in GIT. Our repository […]
I have very large repository in Git and I have created a job in Jenkins that checks out just one sub-folder from the project following this steps Jenkins and Git sparse checkouts. The problem is that when i or some of my colleagues Wipe Out Current Workspace from Jenkins, info/sparse-checkout gets deleted too. How can […]
I am trying to poll git repo from jenkins. But it throws below exception.. FATAL: Could not checkout null with start point 1abd809011d37508b783f4f74245178ed632295a hudson.plugins.git.GitException: Could not checkout null with start point 1abd809011d37508b783f4f74245178ed632295a at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1274) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:881) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:651) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:560) at hudson.model.Run.execute(Run.java:1670) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: […]
I’ve been banging my head for hours now… This error isn’t budging. For the record: I tried: login jenkins in terminal, and that command displayed in red works. While logged in as jenkins, I can clone the repo without problems. The SSH keys are in place, and they show up in the ssh-add -l The […]
I just rebuilt my build-server, updating to the latest version of Jenkins. (I’m usually fairly up-to-date, but must’ve been behind the current, given what happened). This current version of Jenkins / git plugin seems to not be cloning sub-modules. How to fix this?
I’m using this .gitignore in the Jenkins directory: #Ignore everything * #Don’t ignore directories !*/ #Don’t ignore these files !/.gitignore !jobs/*/config.xml !jobs/**/modules**/config.xml But .gitignore files in subfolders aren’t ignored. I want to except only the root .gitignore.
I have a GitHub repo and I use Jenkins for my CI builds. I am trying to make Jenkins trigger some of the builds based on changes to specific folders in the repo. According to various documentation sources Jenkis Git plugin supports that functionality via Excluded/Included regions. The problem is I am unable to find […]