Jenkins : Aged References SCM Filter Plugins


Plugin Information

View GitHub Aged References SCM Filter on the plugin site for more information.

Plugin Information

View Bitbucket Aged References SCM Filter on the plugin site for more information.

Summary

Description

A set of plugins, extending the filtering abilities of SCM ones.

These filters will ignore references (branches and pull requests) where its last commit creation date is older than the defined threshold (in days). Ignored references wont be added as Run sources or will be disabled and tagged for deletion on the next full repo scan.

Current functionality is implemented to:

Usage

When defining a new Github Organization or Bitbucket Team/Project job, include an additional behaviour (placed under the additional separator). 

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

In case of an invalid positive threshold, the form wont validate:

Dependencies

Each filtering trait requires its related branch-source-plugin:

  • github-scm-filter-aged-refs → github-branch-source-plugin
  • bitbucket-scm-filter-aged-refs → bitbucket-branch-source-plugin