Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Wiki Markup
{jenkins-plugin-info:github-scm-filter-aged-refs|sourceDir=scm-filter-aged-refs-plugin|jiraComponent=branch-source-aged-refs-traits-plugin}
{jenkins-plugin-info:bitbucket-scm-filter-aged-refs|sourceDir=scm-filter-aged-refs-plugin|jiraComponent=branch-source-aged-refs-traits-plugin}
Summary

Description

This plugin is in fact a A set of onesplugins, extending the filtering abilities of X-branch-source-plugin 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:

Children Display

Usage

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

...

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

Dependencies

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

  • github-sourcescm-filter-aged-refs -trait → github-branch-source-plugin
  • bitbucket-sourcescm-filter-aged-refs → bitbucket-trait → bitbucket-branch-source-plugin