jenkinsci / jenkinsci/git-plugin

[JENKINS-29714] infinite polling with variable in branchspec

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

Description


  1. Parametrise build with input string parameter BRANCH and default value *

  2. define branchspec

    origin/${BRANCH}
    


  1. enable polling

Polling will see infinitely new changes.

Fix - remove variable and directly set *

---
Originally reported by integer, imported from: infinite polling with variable in branchspec


  • status: Open
  • priority: Critical
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 7
  • watchers: 11
  • imported: 2025-12-02

Raw content of original issue


  1. Parametrise build with input string parameter BRANCH and default value *

  2. define branchspec

    origin/${BRANCH}
    



  1. enable polling

Polling will see infinitely new changes.

Fix - remove variable and directly set *

environment

```
1.609.1

git-plugin-2.4.0

git-client-1.18.0
```

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.