jenkinsci / jenkinsci/git-plugin

[JENKINS-30296] Infinite loop (pooling changes continuously) when using "*/master" branches to build

Open
#2,723 12 comments 0 reactions 0 assignees View on GitHub
component:git-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

Hi there,

For some reason if the branch value is set as "*/master" it keeps polling and building forever even though it doesn't have any scm polling configuration at all, firstly you need to trigger that job manually once and then that behaviour occurs.

Workaround:



  • change branch name as "master"

Already added some screenshots.

I've no idea whether this issue is related to the below ticket:


Cheers

---
Originally reported by v2v, imported from: Infinite loop (pooling changes continuously) when using "*/master" branches to build


  • status: Open
  • priority: Major
  • component(s): git-plugin
  • label(s): git-plugin, polling, pollscm
  • resolution: Unresolved
  • votes: 2
  • watchers: 10
  • imported: 2025-12-02

Raw content of original issue

Hi there,

For some reason if the branch value is set as "*/master" it keeps polling and building forever even though it doesn't have any scm polling configuration at all, firstly you need to trigger that job manually once and then that behaviour occurs.

Workaround:



  • change branch name as "master"

Already added some screenshots.

I've no idea whether this issue is related to the below ticket:


Cheers

environment

```
Git plugin version: 2.3.5

Jenkins version: 1.599
```

3 attachments

- [Failure.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/30609/Failure.png)
> ![Failure.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/30609/Failure.png)
- [Failure_History.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/30610/Failure_History.png)
> ![Failure_History.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/30610/Failure_History.png)
- [Workaround.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/30608/Workaround.png)
> ![Workaround.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/30608/Workaround.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.