Tag: jenkins

Wait until a webhook is triggered

I would like to put something mid-pipeline that waits until a web hook is hit. Ideally, my pipeline will do something like: Deploy to QA Merge Request Deploy to UAT Deploy to Prod I have the “Merge Request” stage create the merge request (in GitLab). That part is done. I now want to wait until […]

AWS S3 Gitpull from Bitbucket and CodePipeline

I’m setting a continuous delivery system using Bitbucket, Jenkins, and AWS Elastic Beanstalk. I’ve got an issue where it appears the Bitbucket integration I’ve setup following this article is only building the master branch. Without direct support in Code Pipeline, like Github and AWS CodeCommit, I’m not sure how to setup builds with specific branches […]

why does bitbucket branch project does checkout twice?

I’m using bitbucket branch source plugin with a bitbucket team project which indexes whole bitbucket repos. Despite my jenkinsfile has checkout scm typed just once, jenkins does checkout before jenkinsfile even starts, how to disable it? I need to use parameterized pipeline that is triggered remotely via “buildWithParameters” and one commit hash is passed to […]

How to build on multi server build using Jenkins from one local git repository

In our spring-boot project we are using local Git setup so all developer pull and push code in our in house git server. That means the Git structure of our project is like that under one_project (project name) repository we have sub folders named api, ui, common, notification, authentication, etc…, which have there separate pom.xml […]

ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job

I am completely new to Jenkins (and Stackoverflow) and I am setting up a simple Jenkins job to poll a git repository. 1) I created a git repositoy on my local machine. 2) I created a Jenkins Freestyle job and on the configure screen entered the following parameters: Repository URL: media@ Credentials: none The following […]

Hudson(Jenkins) and remote git repository get permission denied

I have setup hudson to check out from my remote git repository but i get **Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).** my git repository uses gitosis and works when i clone via the command line. Hudson is running as the same user here is a larger part of the log with hostnames and directories edited Checkout:workspace / /Users/me/.hudson/jobs/HudsonJob/workspace […]

Jenkins Git connection

Getting this error while setting the git config in the Source Code Management section, the repository url is private like this exampleip:/home/project/git-repo/single_login.git not from github Failed to connect to repository : Command “git ls-remote -h exampleip:/home/project/git-repo/single_login.git HEAD” returned status code 128: stdout: stderr: Permission denied, please try again. Permission denied, please try again. Permission denied […]

setting up a local CICD setup

I have two local server that is connected in local network in my office, This is integrated in VM vSphere. I Would like to integrate CICD in my office. I Created two servers one is Git server and another one is jenkins server. Two servers are working fine also. But am not getting how to […]

how to configure Gerrit trigger to trigger only when master or branches changes excluding (refs/for/*)?

I am having troubles how to properly configure Gerrit trigger to only triggers when changes are made to master or other branches (excluding refs/for/rev). For now I have type:Path, pattern: **/* but it catches any changes (on master/branches and on refs/for/*) How to construct correct pattern to trigger when refspecs changes only on master and […]

Jenkins Git change submodule path

Is there a way to change the submodule path to pull from a different repository during build time?

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