Tag: jenkins

Jenkins guide needed for build, deploy, provision and rollback, keeping 5 releases

I am pretty new to Jenkins, and have some sort of understanding but need guidance further. I have a PHP application on a Git repo, that uses Composer, has Assets, has user uploaded Media files, uses Memcache/Redis, has some Agents/Workers, and has Migration files. So far I understood I need to create two jobs in […]

Jenkins Extended E-mail won't print $GIT_BRANCH or $GIT_COMMIT

In the Jenkins “Extended E-mail Notification” plugin, I have created a table about the Build and Git reversion numbers, getting the values through the environment variables that Jenkins sets. All of the table entries are fine apart from the $GIT_COMMIT & $GIT_BRANCH parts. It outputs the strings “$GIT_COMMIT” & “$GIT_BRANCH” respectively. I tried using {} […]

Accessing SCM (Git) variables on a Jenkins Pipeline job

This question already has an answer here: Git Variables in Jenkins Workflow plugin 4 answers

hudson git https password, how do I specify it?

When using the hudson git plugin with https, how to I specify a password?

Git environment variables for use in executing Jenkins shell scripts

Hope someone can help – I have the following plugin installed in my Jenkins instance – but I don’t seem to be able to get hold of the Git variables below. I need these to complete our CI setup. Is there something that I’m missing? I’m passing them in like: ssh builder@10.10.10.10 “./build-pass.sh $GIT_BRANCH” https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin […]

Jenkins: Failed to connect to repository

I’m trying to connect jenkins on a github repo. When I specify the Repo URL jenkins return the following error message: Failed to connect to repository : Command “git ls-remote -h git@github.com:adolfosrs/jenkins-test.git HEAD” returned status code 128: stdout: stderr: Host key verification failed. fatal: Could not read from remote repository. Please make sure you have […]

Jenkins Failed to connect to gerrit repository (Windows installation)

I looked around Stackoverflow and google a lot but I am not able to solve my issue. My aim : I want to set up Jenkins to use git SCM to clone a repository host by gerrit My Jenkins config Jenkins version 2.7.1 running on windows as a service Git plugin version 2.5.3 Multiple SCM […]

git clone/ssh under jenkins

I am using stash as a git repository manager. stash enables you to add ssh keys for each user trying to connect and clone from it. I have configured it fine for all unix users but windows is giving me hard times. the git clone process on the windows slave machine (2008 R2 server) hangs […]

How to store releases/binaries in GitLab?

I am building a workflow with Gitlab, Jenkins and – probably – Nexus (I need an artifact storage). I would like to have GitLab to store releases/binaries – is it possible in a convenient way? I would not like to have another service from which a release (and documentation) could be downloaded but to have […]

Jenkins: Multiple Git repositories for one project

I want to build a project using two Git repositories. One of them contains of the source code, while the other has the build and deployment scripts. My problem is that I need to have a repository for building and deployment of different parts of the project (big project, multiple repositories, same build and deployment […]

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