jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-63837] github push trigger only on changes paths

Open
#1,324 1 comment 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin component:github-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

It would be nice to add an option to the github plugin's webhook triggers to only trigger the scm polling iff there are changes in certain file paths.

Currently the workaround is to create a job that triggers using a webhook, and there figure out what files that have changed in using changesets, and then build the relevant job.

 

Generic webhook triggers seem interesting alternative, however, I've been unable to get them to work with multibranch pipelines.

---
Originally reported by thehosh, imported from: github push trigger only on changes paths


  • assignee: bitwiseman
  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin, github-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

It would be nice to add an option to the github plugin's webhook triggers to only trigger the scm polling iff there are changes in certain file paths.

Currently the workaround is to create a job that triggers using a webhook, and there figure out what files that have changed in using changesets, and then build the relevant job.

 

Generic webhook triggers seem interesting alternative, however, I've been unable to get them to work with multibranch pipelines.

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.