jenkinsci / jenkinsci/git-plugin

[JENKINS-14778] Polling doesn't see changes when watching two branches and merging into one of them

Open
#2,178 0 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

We have a two branches: feature and integration.

Jenkins was setup to poll the feature branch and merge it into integration before the build.

Everything worked fine.

But since occasionally we had to do explicit changes to integration, we added the integration branch to the branches to poll. From that point on jenkins didn't see any changes at all. It allways claimed there were no changes although there where new commits in both branches.

We set it back to poll only the feature branch and it works again.

---
Originally reported by schauder, imported from: Polling doesn't see changes when watching two branches and merging into one of them


  • status: Open
  • priority: Major
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-02

Raw content of original issue

We have a two branches: feature and integration.

Jenkins was setup to poll the feature branch and merge it into integration before the build.

Everything worked fine.

But since occasionally we had to do explicit changes to integration, we added the integration branch to the branches to poll. From that point on jenkins didn't see any changes at all. It allways claimed there were no changes although there where new commits in both branches.

We set it back to poll only the feature branch and it works again.

  • environment: Linux

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.