Tag: jenkins

git submodule update –init gives error fatal: Needed a single revision Unable to find current revision in submodule path

When i execute git submodule update –init I get error fatal: Needed a single revision Unable to find current revision in submodule path ‘plugins/pluginname’. Actually I was trying to run a Jenkins Job to deploy it. I added Recursively update submodules as additional behavior in Jenkins. FATAL: Command “git.exe submodule update –init –recursive” returned status […]

ERROR: Could not fetch from any repository (git and Jenkins)

On Jenkins (1.504) using Git-plugin (1.3.0) we often get this error when pulling from a git repo hudson.plugins.git.GitException: Command “C:\Program Files (x86)\Git\bin\git.exe fetch -t origin +refs/heads/*:refs/remotes/origin/*” returned status code 128: stdout: stderr: error: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure while accessing https://user:password@git.internal.com/scm/projet/project.git/info/refs?service=git-upload-pack fatal: HTTP request failed at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:772) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:772) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:159) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:797) […]

Can Gerrit replace Trac for issue tracking and code browsing

My system contains: Multiple git repositories, Trac 0.12.2 for issue\feature tracking, wiki pages and code browsing (diffs etc.) Jenkins for CI, it pushes versioning changes to git when releasing. I want to move to gerrit bexause of its code review capabilities, gate-keeper like functionality and since it works better with multiple git repositories. My question […]

How to remotely trigger just one build at a time in Jenkins?

This is an extension or variant of How to configure Git post commit hook The problem I have is that I do not want one build per commit. What I want instead is trigger a single instance of a build at a time. While that single instance is running, new requests can accumulate, but they […]

Standalone git hooks or Jenkins?

I am trying to come up with the best solution for CI for a group of about 10 developers when it comes to testing a web interface. All I need is for a test suite to run when any of the devs push their code. I don’t need to worry about building/compiling or deployment because […]

Jenkins job was poked by a GitHub webhook but didn't start

I am running GHE 2.3.1 in private mode (anonymous cloning and repo browsing is not allowed in my organization) and we use Jenkins for CI. Before I put GHE into private mode I could have Jenkins fire jobs for repos when push events happen, using webhooks. After I set private mode this no longer happens. […]

How to achieve build pipeline across multiple Jenkins master hosts?

I am trying to achieve a build pipeline across multiple environments. Lets say dev, qa , pre-prod and prod. But the problem is I have to achieve this build pipeline across two Jenkin’s masters. One for dev and QA and one for pre-prod and prod. Lets say the Jenkins Masters as Master A and Master […]

How do you update database when using composer/jenkins and wordpress with plugins?

I am trying to get wordpress and all plugins managed by composer. I have followed instructions including: https://roots.io/using-composer-with-wordpress/ and other similar instructions found here: Composer => WordPress plugin workflow However my issue is that sometimes a wordpress update and/or a plugin update changes the database. In some cases just downloading the files from a repo […]

How to permanently set the Jenkins system property for Git plugin timeout?

I have read that the Git plugin has a configuration property that enables me to change the timeout on git operations (currently 400) [1,2]. The reason I want to change this is that right now I frequently see that there is a process running and taking up gobs of CPU. The last part of its […]

Github + Jenkins >> How to trigger build on “Commit and Push” in code repository?

I have setup a local instance of Jenkins on my computer, and I can access it through – “http://localhost:8080”. Created a Public Git repository, and added my ASP.NET MVC project there. Also configured Jenkins to build the project, and it does the job very well. However, this is a manual trigger. I mean, the build […]

Git Baby is a git and github fan, let's start git clone.