Pathignore Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID pathignore Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.6
Nov 17, 2011
1.432
[ruby-runtime|n/a] (version:0.6)
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
n/a (id: jtjerno)
Usage Installations 2013-Apr 167
2013-May 158
2013-Jun 127
2013-Jul 115
2013-Aug 126
2013-Sep 137
2013-Oct 129
2013-Nov 160
2013-Dec 139
2014-Jan 159
2014-Feb 154
2014-Mar 160

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.

Table of Contents

Description

Pathignore allows you to do one of two things:

  1. Do NOT allow a build to run if ALL of the changed paths match a given set of patterns.
    • This allows you to ignore specific paths, not triggering a build if only the specified paths have changed.
  2. Only allow a build to run if at least ONE of the files changed match a given set of patterns.
    • This allows you to only build for specific paths, not triggering a build if the paths you care about haven't changed.

Setup

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.

Known issues

Version history

0.6 (Nov 17, 2011)

  • Upgrade to ruby-runtime v0.6
  • Upgrade to jenkins-plugin-runtime v0.1.15

This should resolve any ConcurrentModificationException you might have been seeing.

0.5 (Nov 14, 2011)

  • Update metadata to include repository URL and a display name.

0.4 (Nov 12, 2011)

  • Integration tests - which means higher quality code!
  • Fixed JENKINS-11708: Link not opening in a new window.
  • Workaround for JENKINS-11709: We now provide a blank global.erb so that the global config page loads properly.
  • Fixed compatibility with jenkins-plugin-runtime 0.1.11: Builds were broken because of an upgrade to jenkins-plugin-runtime.

0.3 (Nov 10, 2011)

  • Shortname 'pathfilter'
  • Better metadata

0.2 (Nov 10, 2011)

  • First release.

Labels

Edit
plugin-scm-related plugin-scm-related Delete
plugin-buildwrapper plugin-buildwrapper Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment