{jenkins-plugin-info:pluginId=pathignore} |
This plugin allows SCM-triggered jobs to ignore build requests if only certain paths have changed, or to build if and only if certain paths are changed. |
Pathignore allows you to do one of two things:
To filter whether a build builds based on path, go to the configuration page of the job you care about, and check the box named Do not build if only specified paths have changed
.
The default mode will not rebuild if only the specified paths have changed. The "inverted" mode will do #2 above, and only build if the specific paths have changed.
Patterns are separated by comma, and matched using Ruby's fnmatch.
A skipped build will be marked as NOT BUILT, not FAILED or SUCCESS.
This should resolve any ConcurrentModificationException you might have been seeing.