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

multibranch-build-strategy-extension-plugin should support exclusions on top of inclusions

XMLWordPrintable

      Currently, my understanding is we can use either inclusions OR exclusions. I would like to use both at the same time.

       

      For example, I would like to include a whole folder except for one file. It would look like that:

      Include:

      folder_a/**

      Exclude:

      folder_a/file_to_exclude

       

      My expectation would be that anything changing outside of folder_a or inside folder_a/file_to_exclude would not trigger a build. Any file under folder_a except file_to_exclude would trigger a build. Looking at the test in the github project, I saw only tests with include region OR exclude region but never both. The tests I ran make me think using both does not work (or I am doing something wrong).

            igalg Igal Gluh
            simonmartineaugv Simon Martineau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: