Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60876

Ignore commits not matching a set of files or folder

XMLWordPrintable

      The old Gerrit Trigger plugin provided a way to filter certain commits to trigger a build. 

      This is much useful for monorepos, that have entire repositories as subfolders of it.

      I know that single-repos approach is better, and also git submodules, but there are some cases that isn't there a way to run away from it. 

      I found a plugin that prevents the build from occurring by filtering a set of files or path: https://plugins.jenkins.io/multibranch-build-strategy-extension

      However this isn't the desired approach, the desired approach would be the changes not matching the folder doesn't get even discovered at all (I mean, not shown in Jenkins UI).

            lucamilanesio Luca Domenico Milanesio
            felipecassiors Felipe Santos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: