jenkinsci / jenkinsci/git-plugin

[JENKINS-20569] Polling with excluded regions don't prevent job triggered

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

Description

I've three jobs that trigger git with the same repository and branch.

In then Excluded Regions I add specific folders for each job.

Example:

project/common

project/projectA

project/projectB

project/projectC

If I made change on projectB folder, all the three job are build.

---
Originally reported by anthony, imported from: Polling with excluded regions don't prevent job triggered


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 13
  • watchers: 15
  • imported: 2025-12-02

Raw content of original issue

I've three jobs that trigger git with the same repository and branch.
In then Excluded Regions I add specific folders for each job.

Example:
project/common
project/projectA
project/projectB
project/projectC

If I made change on projectB folder, all the three job are build.

  • environment: Git plugin 2.0

2 attachments

- [trigger-feature.xml](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/34890/trigger-feature.xml)
- [trigger-master.xml](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/34891/trigger-master.xml)

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.