Tag: jenkins

jenkins trigger build if new tag is released

I want to configure jenkins so that it starts building if a new tag is released in any branch of an git repository. How do I configure this behaviour? I’m very new in jenkins so excuse me if this might be a very basic question but I couldn’t find it out on myself. Triggering: Thanks […]

Can I get Jenkins to build a git tag from a passed in parameter?

Jenkins supports parametrized builds. I have a deployment build that requires the tag to deploy to be specified via a parameter. (to deploy a particular tag to production) Is there an easy way to do this with the git plugin? I tried adding a parameter TAG_NAME, and then setting branch_specifier in the git plugin section […]

git plugin for Jenkins fails to clone a repo from local machine. Error code 128

Error: Failed to connect to repository : Command “/usr/bin/git ls-remote -h file:///home/myuser/path/to/project HEAD” returned status code 128: stdout: stderr: fatal: ‘home/myuser/path/to/project’ does not appear to be a git repository fatal: The remote end hung up unexpectedly I have tried the following: chmod 777 to the repo folder(folder containing .git directory) chowned to jenkins:jenkins on the […]

Jenkins transferring 0 files using publish over SSH plugin

I want to transfer files from my post build Jenkins workspace to a location on a remote server. Build goes smoothly for all steps in the job but always transfers 0 files. This is the console output: Started by user Patrick Building in workspace /var/lib/jenkins/jobs/20eyes Build/workspace Fetching changes from the remote Git repository Fetching upstream […]

Is it possible for Jenkins to automatically detect and build newly created tags in a git repo?

It would be nice for our Jenkins CI server to automatically detect, deploy and build tags as they are created in our Github repository. Is this possible?

Dynamically Fill Jenkins Choice Parameter With Git Branches In a Specified Repo

I have a parameterized Jenkins job which requires the input of a specific Git branch in a specific Git repo. Currently this parameter is a string parameter. Is there any way to make this parameter a choice parameter and dynamically fill the drop down list with the Git branches? I don’t want to require someone […]

Jenkins-Build when a change is pushed to GitHub option is not working

Jenkins is running on localhost. I have my repository in GitHub. I have the option to ‘Build when a change is pushed to GitHub’ checked. When I click ‘Build Now’, build is done successfully, no issues there. But when am committing code to my repository, auto build is not happening. I can access GitHub from […]

Jenkins Git Plugin: How to build specific tag?

I am having issues getting Jenkins to build a specified tag. The tag is part of a parametrized build, but I do not know how to pass this through to the git plugin to just build that tag. This has been taking 3 hours of my day and I have conceded defeat to the masters […]

Checkout multiple git repos into same Jenkins workspace

Using Jenkins 1.501 and Jenkins Git plugin 1.1.26 I have 3 different git repos each with multiple projects. Now I need to checkout all projects from the 3 git repos into the same workspace on a Jenkins slave. I have defined each git repo in: Source code Management: Multiple SCMs. But each time a repo […]

Permission denied (publickey) when setting up Jenkins

I am setting up Jenkins on a Win 2008 server machine and am having some trouble configuring Jenkins to connect to GitHub. I get the following error: Command “git.exe fetch -t git@github.com:USER/REPO.git +refs/heads/*:refs/remotes/origin/*” returned status code 128: Permission denied (publickey). fatal: The remote end hung up unexpectedly ERROR: Could not fetch from any repository FATAL: […]

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