jenkinsci / jenkinsci/git-plugin

[JENKINS-56771] Add Path filtering to triggers in multibranchPipelineJob branchSources

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

Description

in a `multibranchPipelineJob`, we can currently ONLY select branches that we want to include and exclude in our triggers.

 

We have some use cases where we would ALSO need builds NOT triggered, when commits only include files under certain paths/folders in a repo.

 

This seems like it is supported already through the git-plugin's "polling ignores commits in certain paths" advanced option (see screenshot), so I was wondering if there are any plans to extend support for this to the `multibranchPipelineJob`'s `branchSources`.

 

Thanks,

Yorgos

---
Originally reported by yorgos, imported from: Add Path filtering to triggers in multibranchPipelineJob branchSources


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

Raw content of original issue

in a `multibranchPipelineJob`, we can currently ONLY select branches that we want to include and exclude in our triggers.

 

We have some use cases where we would ALSO need builds NOT triggered, when commits only include files under certain paths/folders in a repo.

 

This seems like it is supported already through the git-plugin's "polling ignores commits in certain paths" advanced option (see screenshot), so I was wondering if there are any plans to extend support for this to the `multibranchPipelineJob`'s `branchSources`.

 

Thanks,

Yorgos

1 attachment

- [Screenshot 2019-03-27 at 10.27.26.png](https://issues.jenkins.io/secure/attachment/46569/Screenshot%202019-03-27%20at%2010.27.26.png)
> ![Screenshot 2019-03-27 at 10.27.26.png](https://issues.jenkins.io/secure/attachment/46569/Screenshot%202019-03-27%20at%2010.27.26.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.