GitHub Aged References SCM Filter

GitHub release Build Status GitHub license Maintenance

This is a collection of extensions for several branch source Jenkins plugins.

It provides filters for

  • Bitbucket: BitBucket Plugin installs Filtering references (branches, tags and pull requests)
  • GitHub: GitHub Plugin installs Filtering references (branches, tags and pull requests)

This filter will ignore references (branches and pull requests) where its last commit creation date is older than the defined threshold (in days). Ignored references won't be added as sources or will be disabled and tagged for deletion on the next full repository scan.

Usage

When defining a new job (or Organization folder), include an additional behaviour (placed under the additional separator). 

Dropdown Screenshot

This behaviour is configurable, being mandatory to specify the acceptable threshold (positive days) for each reference:

Config Screenshot

In case of an invalid positive threshold, the form won't validate:

Error Screenshot