Pipeline: Multibranch build strategy extension


This plugin provides additional configuration to prevent multi branch projects from triggering new builds based on a include or exclude regions in source repository.
Each region uses ant pattern matching, and must be separated by a new line.
Any commented line should start by #


  •  # excluding html and jpeg changes to trigger builds
  • # Any changes on java files will trigger build


Let's say you don't want your CI to run on README.md, .gitignore or any .html file changes

Multibranch build strategy extension

  1. On multibranch job go to Build Strategies section, click Add button and select Cancel build excluded regions strategy

Multibranch build strategy extension

  1. Fill the textarea with ant style exclusions:

This can also be achieved by excluding using a file directly in the repository containing the regions

Multibranch build strategy extension