# \#git

**URL:** https://community.jenkins.io/tag/git/18.md?match_all_tags=true&page=1&tags%5B%5D=git

[Latest](https://community.jenkins.io/latest.md) · [Categories](https://community.jenkins.io/categories.md) · [Tags](https://community.jenkins.io/tags.md)

**Page:** 2

---

## [Git SCM Polling is not working after System patch and Plugin Upgrade](https://community.jenkins.io/t/git-scm-polling-is-not-working-after-system-patch-and-plugin-upgrade/9195)

<div class="topic-metadata">

**Author:** [@ssankarmca37](https://community.jenkins.io/u/ssankarmca37)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 3:49am UTC](https://community.jenkins.io/t/git-scm-polling-is-not-working-after-system-patch-and-plugin-upgrade/9195 "2023-08-24T03:49:10Z")

</div>

Jenkins Polling SCM is not working as expected. Jenkins Version: 2.414.1 Java Version: 11.0.20 Jenkins is Installed on Amazon Linux 2 machine. Earlier Polling was working fine until we update the system(machine). After…

---

## [Warning: JENKINS-30600](https://community.jenkins.io/t/warning-jenkins-30600/9067)

<div class="topic-metadata">

**Author:** [@techm-vivek](https://community.jenkins.io/u/techm-vivek)\
**Replies:** 0\
**Last updated:** [August 16, 2023, 12:52pm UTC](https://community.jenkins.io/t/warning-jenkins-30600/9067 "2023-08-16T12:52:57Z")

</div>

Hi Everyone, I am getting a Jenkins warning could anyone help me how to fix it Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@389670eb; decorates Remo…

---

## [Abort existing builds based on build parameter equality when new commit detected](https://community.jenkins.io/t/abort-existing-builds-based-on-build-parameter-equality-when-new-commit-detected/8837)

<div class="topic-metadata">

**Author:** [@JonnyPowerRec](https://community.jenkins.io/u/JonnyPowerRec)\
**Replies:** 3\
**Last updated:** [August 4, 2023, 8:30am UTC](https://community.jenkins.io/t/abort-existing-builds-based-on-build-parameter-equality-when-new-commit-detected/8837 "2023-08-04T08:30:19Z")

</div>

Hi, We have an active repository on github, where PRs will be automatically rebased when their base gets a push. We also have builds that take hours to complete. During periods of high merge activity this overwhelms o…

---

## [How to remove empty & old jobs from multibranch pipeline?](https://community.jenkins.io/t/how-to-remove-empty-old-jobs-from-multibranch-pipeline/8535)

<div class="topic-metadata">

**Author:** [@dsaydon90](https://community.jenkins.io/u/dsaydon90)\
**Replies:** 4\
**Last updated:** [July 22, 2023, 10:26am UTC](https://community.jenkins.io/t/how-to-remove-empty-old-jobs-from-multibranch-pipeline/8535 "2023-07-22T10:26:52Z")

</div>

Hi, I use multibranch pipeline Discard old items with Days to keep old items: 14 In addition, in my pipeline I have the buildDiscarder option pipeline { ... options { timestamps() di…

---

## [Jenkins job slave error- create default pod error](https://community.jenkins.io/t/jenkins-job-slave-error-create-default-pod-error/8170)

<div class="topic-metadata">

**Author:** [@cosmoproject57](https://community.jenkins.io/u/cosmoproject57)\
**Replies:** 2\
**Last updated:** [July 8, 2023, 3:56am UTC](https://community.jenkins.io/t/jenkins-job-slave-error-create-default-pod-error/8170 "2023-07-08T03:56:03Z")

</div>

Hi, Any help would be appreciated. Thank you. We are running our Jenkins in a Kubernetes cluster with master and slave docker images. Jenkins plugin fails to load from the UI on the old version of Jenkins which results…

---

## [Docker Image jnlp-agent-python3](https://community.jenkins.io/t/docker-image-jnlp-agent-python3/8043)

<div class="topic-metadata">

**Author:** [@Monit-dev](https://community.jenkins.io/u/Monit-dev)\
**Replies:** 2\
**Last updated:** [June 23, 2023, 1:02pm UTC](https://community.jenkins.io/t/docker-image-jnlp-agent-python3/8043 "2023-06-23T13:02:44Z")

</div>

Hello Community, I am working on a jenkins agent jnlp-agent-python3 but when I run the pipeline using this agent the pipeline fails as I think there is no git installed in the agent. Attaching the error screenshot here. …

---

## [Connection issue with github.com when downloading Jenkinsfile](https://community.jenkins.io/t/connection-issue-with-github-com-when-downloading-jenkinsfile/7483)

<div class="topic-metadata">

**Author:** [@dracorp](https://community.jenkins.io/u/dracorp)\
**Replies:** 1\
**Last updated:** [May 19, 2023, 10:25am UTC](https://community.jenkins.io/t/connection-issue-with-github-com-when-downloading-jenkinsfile/7483 "2023-05-19T10:25:33Z")

</div>

Hi Our company, partially migrate to the Github.com. Jenkinsfiles are stored in the Github. On the Github side, there are configured github app with private keys. I don’t know how, because I don’t have access. On the J…

---

## ["not a git repository" error](https://community.jenkins.io/t/not-a-git-repository-error/7186)

<div class="topic-metadata">

**Author:** [@BokeTsukkomi](https://community.jenkins.io/u/BokeTsukkomi)\
**Replies:** 7\
**Last updated:** [May 15, 2023, 7:19am UTC](https://community.jenkins.io/t/not-a-git-repository-error/7186 "2023-05-15T07:19:41Z")

</div>

Hello everyoone! I am having the “not a git repository” error when trying to run a multibranch pipeline project. I’m running Jenkins locally on a Windows 11 machine. I’ve found this post and this article and based on t…

---

## [How to open open a PR in jenkinsci / ec2-plugin](https://community.jenkins.io/t/how-to-open-open-a-pr-in-jenkinsci-ec2-plugin/7017)

<div class="topic-metadata">

**Author:** [@drullar](https://community.jenkins.io/u/drullar)\
**Replies:** 1\
**Last updated:** [April 25, 2023, 9:32am UTC](https://community.jenkins.io/t/how-to-open-open-a-pr-in-jenkinsci-ec2-plugin/7017 "2023-04-25T09:32:21Z")

</div>

Hey, I would like to submit a Pull Request to the ec2-plugin repository but I am getting a permission error: ERROR: Permission to jenkinsci/ec2-plugin.git denied to abusuladzich. fatal: Could not read from remote repo…

---

## [Git username / password credentials binding has released](https://community.jenkins.io/t/git-username-password-credentials-binding-has-released/263)

<div class="topic-metadata">

**Author:** [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Replies:** 8\
**Last updated:** [June 6, 2022, 5:14am UTC](https://community.jenkins.io/t/git-username-password-credentials-binding-has-released/263 "2022-06-06T05:14:30Z")

</div>

The Google Summer of Code git credentials binding project has released the username / password credentials binding as part of git plugin 4.8.0. A future release expects to add support for ssh private key credentials bin…

---

## [Prevent default checkout when checking pipeline file from SCM when two repositories are configured](https://community.jenkins.io/t/prevent-default-checkout-when-checking-pipeline-file-from-scm-when-two-repositories-are-configured/5516)

<div class="topic-metadata">

**Author:** [@fedoric](https://community.jenkins.io/u/fedoric)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 2:06pm UTC](https://community.jenkins.io/t/prevent-default-checkout-when-checking-pipeline-file-from-scm-when-two-repositories-are-configured/5516 "2023-01-30T14:06:48Z")

</div>

When using the option to fetch the pipeline file from SCM (as opposed to having it inline in the job itself) and defining two repositories (for example to use with the Git Branch Parameter, to have two branch parameter o…

---

## [How to merge two git branches in a pipeline script](https://community.jenkins.io/t/how-to-merge-two-git-branches-in-a-pipeline-script/5208)

<div class="topic-metadata">

**Author:** [@kumar45](https://community.jenkins.io/u/kumar45)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 4:18pm UTC](https://community.jenkins.io/t/how-to-merge-two-git-branches-in-a-pipeline-script/5208 "2023-01-04T16:18:17Z")

</div>

Hi Guys, I am unable to find a solution to merge two git branches in a pipeline as script code. Below is my code developed so far to checkout and merge. Only checkout step is working. Please advise what can i need to co…

---

## [Git push (Windows server)](https://community.jenkins.io/t/git-push-windows-server/5044)

<div class="topic-metadata">

**Author:** [@msmith](https://community.jenkins.io/u/msmith)\
**Replies:** 2\
**Last updated:** [December 20, 2022, 11:04pm UTC](https://community.jenkins.io/t/git-push-windows-server/5044 "2022-12-20T23:04:12Z")

</div>

I’m new to Jenkins and have a Windows install. I’m stuck trying to push tags to github. I have the gitPush plugin installed, but can’t figure out the pipeline syntax for it. Is this the right thing to be using or is t…

---

## [Heavyweight checkout scm](https://community.jenkins.io/t/heavyweight-checkout-scm/5036)

<div class="topic-metadata">

**Author:** [@dronky](https://community.jenkins.io/u/dronky)\
**Replies:** 0\
**Last updated:** [December 20, 2022, 11:58am UTC](https://community.jenkins.io/t/heavyweight-checkout-scm/5036 "2022-12-20T11:58:33Z")

</div>

Hello, is there a way to do a heavyweight checkout scm in a stage? I know about global jenkins variable USE\_HEAVYWEIGHT\_CHECKOUT, but I want to do heavyweight checkout only in this particular job.

---

## [Shows Page Not Found when insert Repo url on SCM](https://community.jenkins.io/t/shows-page-not-found-when-insert-repo-url-on-scm/4312)

<div class="topic-metadata">

**Author:** [@elbecan](https://community.jenkins.io/u/elbecan)\
**Replies:** 3\
**Last updated:** [November 1, 2022, 4:53am UTC](https://community.jenkins.io/t/shows-page-not-found-when-insert-repo-url-on-scm/4312 "2022-11-01T04:53:03Z")

</div>

Hi, I have an issue when I would like to create job with SCM (git), it suddenly shows error 404 page not found, even though the url on SCM is blank (which should be ok if we just opened the new job here \*cmiiw). if I…

---

## [Git plugin fail to connect my git repository](https://community.jenkins.io/t/git-plugin-fail-to-connect-my-git-repository/4338)

<div class="topic-metadata">

**Author:** [@PowaBanga](https://community.jenkins.io/u/PowaBanga)\
**Replies:** 3\
**Last updated:** [October 28, 2022, 10:58pm UTC](https://community.jenkins.io/t/git-plugin-fail-to-connect-my-git-repository/4338 "2022-10-28T22:58:31Z")

</div>

Hello everybody, I created a git repository: grep -r gitu /etc/passwd gituser:x:1200:1200::/home/gituser:/usr/bin/git-shell cd /mnt/500go ls -ls | grep Git 4 drwxr-xr-x 15 gituser gituser 4096 23 aoû 10:13 GitRepo…

---

## [Jenkinsfile pipeline with shell script](https://community.jenkins.io/t/jenkinsfile-pipeline-with-shell-script/4087)

<div class="topic-metadata">

**Author:** [@luisthiago3108](https://community.jenkins.io/u/luisthiago3108)\
**Replies:** 5\
**Last updated:** [October 17, 2022, 7:33am UTC](https://community.jenkins.io/t/jenkinsfile-pipeline-with-shell-script/4087 "2022-10-17T07:33:37Z")

</div>

Jenkinsfile pipeline with script shell I have three branches on Gitlab (int, stg and prd), I need running a pipeline to do deploy when accepted a merge. Example: int → stg, stg → prd. Whats better way to do this? The c…

---

## [Jenkins pipeline is failing with git timeout](https://community.jenkins.io/t/jenkins-pipeline-is-failing-with-git-timeout/3803)

<div class="topic-metadata">

**Author:** [@Sarvabhowma1995](https://community.jenkins.io/u/Sarvabhowma1995)\
**Replies:** 3\
**Last updated:** [September 20, 2022, 1:32pm UTC](https://community.jenkins.io/t/jenkins-pipeline-is-failing-with-git-timeout/3803 "2022-09-20T13:32:34Z")

</div>

Hi, Currently, I have one repository which is having 8GB files and in that repository, I have my Jenkins file too in the same repository. My Jenkins file is written in scripted not in declarative. and to clone this I ne…

---

## [Jenkins can't find private git submodules](https://community.jenkins.io/t/jenkins-cant-find-private-git-submodules/3008)

<div class="topic-metadata">

**Author:** [@ShubhamGsource](https://community.jenkins.io/u/ShubhamGsource)\
**Replies:** 9\
**Last updated:** [July 18, 2022, 2:27pm UTC](https://community.jenkins.io/t/jenkins-cant-find-private-git-submodules/3008 "2022-07-18T14:27:27Z")

</div>

I am trying to build a job. It is a Github project which has submodules. Even after enabling “Advanced sub-modules behaviours” and checking 1. Recursively update submodules and 2. Use credentials from default remote of p…

---

## [gitlabMergeRequestId, gitlabMergeRequestIid missing with plugin push from gitlab](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529)

<div class="topic-metadata">

**Author:** [@uchinago](https://community.jenkins.io/u/uchinago)\
**Replies:** 4\
**Last updated:** [May 25, 2022, 1:07pm UTC](https://community.jenkins.io/t/gitlabmergerequestid-gitlabmergerequestiid-missing-with-plugin-push-from-gitlab/2529 "2022-05-25T13:07:49Z")

</div>

We have the gitlab plugin for Jenkins installed. and based on the documentation, I should see specific fields populated as part of the environmnet. I get some but not all, example of ones I have ${env.gitlabTargetBra…

---

## [Jenkins Git plugin only checks out tags on existing repository](https://community.jenkins.io/t/jenkins-git-plugin-only-checks-out-tags-on-existing-repository/2101)

<div class="topic-metadata">

**Author:** [@ilCatania](https://community.jenkins.io/u/ilCatania)\
**Replies:** 4\
**Last updated:** [April 27, 2022, 1:20pm UTC](https://community.jenkins.io/t/jenkins-git-plugin-only-checks-out-tags-on-existing-repository/2101 "2022-04-27T13:20:06Z")

</div>

Hi all, I found a bug in the Jenkins Git plugin where tags are not checked out unless you clone the project twice. I filed a JIRA ticket: JENKINS-67984 with details on how to reproduce the bug but I’m not getting much tr…

---

## [Cannot fetch branches from 2 different repos](https://community.jenkins.io/t/cannot-fetch-branches-from-2-different-repos/2072)

<div class="topic-metadata">

**Author:** [@jitendern](https://community.jenkins.io/u/jitendern)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 2:38pm UTC](https://community.jenkins.io/t/cannot-fetch-branches-from-2-different-repos/2072 "2022-04-11T14:38:06Z")

</div>

Hi , I need to create a build with parameter job in which i need to ask for 2 branches from different repository , I am using declarative pipeline script for it and the stranger is that it is working in one case and not…

[Previous page](https://community.jenkins.io/tag/git/18.md?match_all_tags=true&tags%5B%5D=git)
