jenkinsci / jenkinsci/git-plugin

[JENKINS-30892] git poll scm will be doing build for all the branches when we use docker

Open
#2,745 1 comment 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

When we trigger the builds on the docker slaves then there git poll scm will not able to find any work space.

so it finds changes every time in each branch.

and if there are changes in only one branch it will triggers the builds for all the branches available on that repository.

---
Originally reported by jenkins_git, imported from: git poll scm will be doing build for all the branches when we use docker


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

Raw content of original issue

When we trigger the builds on the docker slaves then there git poll scm will not able to find any work space.
so it finds changes every time in each branch.
and if there are changes in only one branch it will triggers the builds for all the branches available on that repository.

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.