Questions tagged [jenkins-git-plugin]
37 questions
0
votes
2 answers
Choose Jenkinsfile of target branch or source branch while doing Pull Request
My git repository is Azure DevOps and uses Jenkins for continuous integration build and I use TFS Plugin for Jenkins.
For example I have 50 branches, most of them have a different Jenkins file. While I request pull on Azure DevOps, I want to be able…

GreenMan
- 269
- 1
- 15
0
votes
1 answer
Failed to connect to repository Jenkins setup version 2.249.1
Installed Jenkins and git on windows machine. when trying to set URL under source code management following error shown:
PATH enviornment variable
C:\Users\user\AppData\Local\Programs\Git\bin
Jenkins->ManageJenkins->global tool configuration-> git…

Swift
- 829
- 2
- 12
- 33
0
votes
1 answer
Jenkins Git Parameter Plugin branchFilter regex
I am using Git Parameter Plugin (0.9.12) for Jenkins declarative pipeline here as below. The output of params.branchName is master where output needs to origin/master for my case.
Is there anyway to do this ? How can I add get the origin/master…

semural
- 3,583
- 8
- 37
- 67
0
votes
1 answer
Unable to do git push from jenkins when creating a new branch
I am creating a new git branch from Jenkins (execute shell) using the below commands but when I run this job , it creates the branch locally but doesn't push it to the origin. Also this Jenkins job just stuck at the git-push command and never…

Gaurav
- 11
- 1
0
votes
1 answer
Build One Project from GIT Repo (Jenkins/GIT)
I am trying to check out just one maven project from a GIT repo (Total of 49 modules) in Jenkins and do a build. The only reason is that they all need to be built a little bit differently in order to be deployed on to Tomcat. I probably might have…

hell_storm2004
- 1,401
- 2
- 33
- 66
0
votes
0 answers
Getting fatal: error when closing sha1 file: Permission denied fatal: unpack-objects failed in Jenkins
We are receiving below issue with git in Jenkins pipeline job
fatal: error when closing sha1 file: Permission denied
fatal: unpack-objects failed
This is happening only with one specific branch and branches created out of that branch
Thanks in…

Nandeesh Bijoor
- 173
- 2
- 16
-1
votes
2 answers
Prevent the jenkins build if previous successful build commit and present commit is same
I want to prevent the Jenkins build if the present commit is same as the previous sucessful build commit. Is there any way to check the present build and previous build in Jenkins. I'm using Jenkins file.
In simple words I don't want jenkins to…

Alexy Pulivelil
- 87
- 10